Commit a9c207f973

a9c207f973a1f6f4c390b992af75e3537765e82f

parent: 8314ccc536

Unsigned

cmc <hello@cleberg.net> · 2025-03-11 23:40 UTC

add sourcehut build steps

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/