diff options
author | hitlerrip <git@hitler.rip> | 2025-08-05 18:17:08 +0200 |
---|---|---|
committer | hitlerrip <git@hitler.rip> | 2025-08-05 18:17:08 +0200 |
commit | 05c6b9b34a14e3fa9abecea102204cff5a81ab46 (patch) | |
tree | a7a02d8ac686060c70b860b17421de85074f7a91 | |
parent | c31e5c9e0e237567095b367e165ef4dcc068da6e (diff) | |
download | website-05c6b9b34a14e3fa9abecea102204cff5a81ab46.tar.gz website-05c6b9b34a14e3fa9abecea102204cff5a81ab46.tar.bz2 website-05c6b9b34a14e3fa9abecea102204cff5a81ab46.zip |
fixed pub.sh
- fixed commands
- added `git pull` to pub.sh to automatically update repo
-rwxr-xr-x | pub.sh | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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/ |