diff options
| author | Christian Cleberg <[email protected]> | 2024-07-28 20:59:08 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2024-07-28 20:59:08 -0500 |
| commit | 0c8cbcd9c05cc3a46aa649690968c915b9a80f4c (patch) | |
| tree | 9a38f246af1b6e4f4171f5dda22f812f6418caa1 | |
| parent | c31df323b0bba3f1bf5f80bfb577865d361b91df (diff) | |
| download | cleberg.net-0c8cbcd9c05cc3a46aa649690968c915b9a80f4c.tar.gz cleberg.net-0c8cbcd9c05cc3a46aa649690968c915b9a80f4c.tar.bz2 cleberg.net-0c8cbcd9c05cc3a46aa649690968c915b9a80f4c.zip | |
add custom README build steps
| -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" && \ |
