aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh9
1 files changed, 6 insertions, 3 deletions
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" && \