From c31e5c9e0e237567095b367e165ef4dcc068da6e Mon Sep 17 00:00:00 2001 From: hitlerrip Date: Tue, 5 Aug 2025 18:15:12 +0200 Subject: pub.sh added an actual wrapper around the build script, which was my intention with `run.sh` --- pub.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 pub.sh (limited to 'pub.sh') diff --git a/pub.sh b/pub.sh new file mode 100755 index 0000000..18df7ee --- /dev/null +++ b/pub.sh @@ -0,0 +1,8 @@ +#!/bin/sh +source ./build.sh +echo "=== publishing website! ===" +rm -rf /srv/web/ +sudo mkdir -p /srv/web/ +sudo chown -R $(whoami):$(whoami) /srv/web/ +cp ./web/* /srv/web/ +sudo systemctl restart nginx -- cgit v1.2.3