diff options
author | Blaise Thompson <blaise@untzag.com> | 2021-07-08 16:42:51 -0500 |
---|---|---|
committer | Blaise Thompson <blaise@untzag.com> | 2021-07-08 16:42:51 -0500 |
commit | 6fa3d6d03c4f0731cf388166bacebbf2e062fd1c (patch) | |
tree | 66c093d15434f83bad906e2a6e0735d6df27311c /publicize.sh | |
parent | 7644f77b2b94bf3acf5793ba66e744daa67e4e9d (diff) |
refactor with actual building
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 4b3337a..0eefcb1 100755 --- a/publicize.sh +++ b/publicize.sh @@ -1 +1,6 @@ -scp -r public/* root@blaise.zone:/var/www/memories.blaise.zone/html/ +#!/bin/bash +cd "$(dirname "$0")" +git pull +python3 build.py +cp -r ./public/* /var/www/memories.blaise.zone/html/ + |