diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rwxr-xr-x | build.sh | 9 |
2 files changed, 7 insertions, 3 deletions
@@ -2,3 +2,4 @@ .DS_Store .vscode public +readme.html @@ -5,9 +5,12 @@ read answer if [ "$answer" != "${answer#[Yy]}" ] ; then if [ "$ENV" == "prod" ]; then - echo "Environment = Production" && \ - rm -rf .build/* && \ - emacs --script publish.el && \ + echo "Environment = Production" && \ + rm -rf .build/* && \ + emacs --script publish.el && \ + pandoc -f org -t html readme.org -o readme.html && \ + hut git update --readme readme.html --repo \ + https://git.sr.ht/\~cyborg/cleberg.net && \ rsync -av --delete-before .build/* ubuntu:/var/www/cleberg.net/ else echo "Environment = Development" && \ |