diff options
author | Christian Cleberg <hello@cleberg.net> | 2024-07-28 20:59:08 -0500 |
---|---|---|
committer | Christian Cleberg <hello@cleberg.net> | 2024-07-28 20:59:08 -0500 |
commit | d110c8c9e34f74b9c279de17548174dabb37cbb4 (patch) | |
tree | 9a38f246af1b6e4f4171f5dda22f812f6418caa1 /build.sh | |
parent | 709727082bdc1f661d7cf81a5d12ee3f5d65b573 (diff) | |
download | cleberg.net-d110c8c9e34f74b9c279de17548174dabb37cbb4.tar.gz cleberg.net-d110c8c9e34f74b9c279de17548174dabb37cbb4.tar.bz2 cleberg.net-d110c8c9e34f74b9c279de17548174dabb37cbb4.zip |
add custom README build steps
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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" && \ |