aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2024-12-05 18:07:32 -0600
committerChristian Cleberg <hello@cleberg.net>2024-12-05 18:07:32 -0600
commit2909fa2564e3d114a1b9fbdfb17890d2bb2dbb79 (patch)
treee7024d8bd7023db9cafabcd4c8272e8e597ebbdf /build.sh
parentebbf09dcead72218ad0acfec0b1e0cf92ec5bc61 (diff)
downloadcleberg.net-2909fa2564e3d114a1b9fbdfb17890d2bb2dbb79.tar.gz
cleberg.net-2909fa2564e3d114a1b9fbdfb17890d2bb2dbb79.tar.bz2
cleberg.net-2909fa2564e3d114a1b9fbdfb17890d2bb2dbb79.zip
add README build commands
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 60fb0f9..6bbed3c 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 README on Sourcehut
+ 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/cleberg.net/