diff options
Diffstat (limited to 'pub.sh')
-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/ |