Commit a9c207f973
Unsigned
Layout: unified · split
build.sh +5
| @@ -32,6 +32,11 @@ if [[ "$answer" =~ ^[Yy]$ ]]; then | |||
| 32 | 32 | ||
| 33 | # Minify CSS | 33 | # Minify CSS |
| 34 | minify -o theme/static/styles.min.css theme/static/styles.css | 34 | minify -o theme/static/styles.min.css theme/static/styles.css |
| 35 | |||
| 36 | # Update Sourcehut README | ||
| 37 | pandoc -f org -t html readme.org -o readme.html | ||
| 38 | hut git update --readme readme.html --repo \ | ||
| 39 | https://git.sr.ht/\~cyborg/cleberg.net | ||
| 35 | 40 | ||
| 36 | # Deploy changes | 41 | # Deploy changes |
| 37 | rsync -r --delete-before .build/* $ubuntu_server:/var/www/cmc.pub/ | 42 | rsync -r --delete-before .build/* $ubuntu_server:/var/www/cmc.pub/ |