add portable build and deploy script

main
Stef Dunlap 2022-05-17 15:35:41 -04:00
parent 15468faee3
commit e2138effd7
2 changed files with 6 additions and 1 deletions

5
build.sh 100755
View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -e
GOMAXPROCS=1 hugo --cacheDir /tmp/hugo_kindrobot

View File

@ -2,5 +2,5 @@
set -eux set -eux
hugo ./build.sh
rsync -r public/* kindrobot@tilde.town:public_html rsync -r public/* kindrobot@tilde.town:public_html