aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2025-03-11 18:40:40 -0500
committerChristian Cleberg <[email protected]>2025-03-11 18:40:40 -0500
commita9c207f973a1f6f4c390b992af75e3537765e82f (patch)
treef8ffdd13fdfafc0e2ba145de4fe7942641453fcc
parent8314ccc5364cbc9afa9653c2b02c5c58d433ade5 (diff)
downloadcleberg.net-a9c207f973a1f6f4c390b992af75e3537765e82f.tar.gz
cleberg.net-a9c207f973a1f6f4c390b992af75e3537765e82f.tar.bz2
cleberg.net-a9c207f973a1f6f4c390b992af75e3537765e82f.zip
add sourcehut build steps
-rwxr-xr-xbuild.sh5
1 files changed, 5 insertions, 0 deletions
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/