Commit 0c8cbcd9c0

0c8cbcd9c05cc3a46aa649690968c915b9a80f4c

parent: c31df323b0

Unsigned

cmc <hello@cleberg.net> · 2024-07-29 01:59 UTC

add custom README build steps

Layout: unified · split

.gitignore +1
@@ -2,3 +2,4 @@
22.DS_Store
33.vscode
44public
5readme.html
build.sh +6 −3
@@ -5,9 +5,12 @@ read answer
55
66if [ "$answer" != "${answer#[Yy]}" ] ; then
77 if [ "$ENV" == "prod" ]; then
8 echo "Environment = Production" && \
9 rm -rf .build/* && \
10 emacs --script publish.el && \
8 echo "Environment = Production" && \
9 rm -rf .build/* && \
10 emacs --script publish.el && \
11 pandoc -f org -t html readme.org -o readme.html && \
12 hut git update --readme readme.html --repo \
13 https://git.sr.ht/\~cyborg/cleberg.net && \
1114 rsync -av --delete-before .build/* ubuntu:/var/www/cleberg.net/
1215 else
1316 echo "Environment = Development" && \