From 1ed20e2054d195a28bfe66eccf9ab9bc7949c7d9 Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Tue, 11 Mar 2025 18:40:40 -0500 Subject: add sourcehut build steps --- build.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'build.sh') diff --git a/build.sh b/build.sh index aabf154..b17219d 100755 --- a/build.sh +++ b/build.sh @@ -32,6 +32,11 @@ if [[ "$answer" =~ ^[Yy]$ ]]; then # Minify CSS minify -o theme/static/styles.min.css theme/static/styles.css + + # Update Sourcehut README + pandoc -f org -t html readme.org -o readme.html + hut git update --readme readme.html --repo \ + https://git.sr.ht/\~cyborg/cleberg.net # Deploy changes rsync -r --delete-before .build/* $ubuntu_server:/var/www/cmc.pub/ -- cgit v1.2.3-70-g09d2