From d110c8c9e34f74b9c279de17548174dabb37cbb4 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Sun, 28 Jul 2024 20:59:08 -0500 Subject: add custom README build steps --- build.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index ef760d5..c4d4f01 100755 --- a/build.sh +++ b/build.sh @@ -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" && \ -- cgit v1.2.3-70-g09d2