diff options
author | Blaise Thompson <blaise@untzag.com> | 2021-07-05 22:28:25 -0500 |
---|---|---|
committer | Blaise Thompson <blaise@untzag.com> | 2021-07-05 22:28:25 -0500 |
commit | ba52f5d4a24cdc58a4835d53922c8f3aa693b792 (patch) | |
tree | 5a4e3744ef07f328546812c277fac9370a47c20d /publicize.sh | |
parent | b43db726af5e87e7e483b5174d3d878203b4df6a (diff) |
new publicize
Diffstat (limited to 'publicize.sh')
-rwxr-xr-x | publicize.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/publicize.sh b/publicize.sh index 7bbd1e8..cac6bf7 100755 --- a/publicize.sh +++ b/publicize.sh @@ -1 +1,6 @@ -scp -r /home/blaise/website/agenda/public/* root@blaise.zone:/var/www/agenda.blaise.zone/html/ +#!/bin/bash +cd "$(dirname "$0")" +git pull +python3 build.py +cp -r ./public/* /var/www/agenda.blaise.zone/html/ + |