Commit 0c8cbcd9c0
Unsigned
Layout: unified · split
.gitignore +1
| @@ -2,3 +2,4 @@ | ||
| 2 | 2 | .DS_Store |
| 3 | 3 | .vscode |
| 4 | 4 | public |
| 5 | readme.html | |
build.sh +6 −3
| @@ -5,9 +5,12 @@ read answer | ||
| 5 | 5 | |
| 6 | 6 | if [ "$answer" != "${answer#[Yy]}" ] ; then |
| 7 | 7 | if [ "$ENV" == "prod" ]; then |
| 8 | echo "Environment = Production" && \ | |
| 9 | rm -rf .build/* && \ | |
| 10 | emacs --script publish.el && \ | |
| 8 | echo "Environment = Production" && \ | |
| 9 | rm -rf .build/* && \ | |
| 10 | emacs --script publish.el && \ | |
| 11 | pandoc -f org -t html readme.org -o readme.html && \ | |
| 12 | hut git update --readme readme.html --repo \ | |
| 13 | https://git.sr.ht/\~cyborg/cleberg.net && \ | |
| 11 | 14 | rsync -av --delete-before .build/* ubuntu:/var/www/cleberg.net/ |
| 12 | 15 | else |
| 13 | 16 | echo "Environment = Development" && \ |