From 05c6b9b34a14e3fa9abecea102204cff5a81ab46 Mon Sep 17 00:00:00 2001 From: hitlerrip Date: Tue, 5 Aug 2025 18:17:08 +0200 Subject: fixed pub.sh - fixed commands - added `git pull` to pub.sh to automatically update repo --- pub.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pub.sh') diff --git a/pub.sh b/pub.sh index 18df7ee..bc81365 100755 --- a/pub.sh +++ b/pub.sh @@ -1,7 +1,8 @@ #!/bin/sh -source ./build.sh +git pull +./build.sh echo "=== publishing website! ===" -rm -rf /srv/web/ +sudo rm -rf /srv/web/ sudo mkdir -p /srv/web/ sudo chown -R $(whoami):$(whoami) /srv/web/ cp ./web/* /srv/web/ -- cgit v1.2.3