aboutsummaryrefslogtreecommitdiff
path: root/publicize.sh
diff options
context:
space:
mode:
authorBlaise Thompson <blaise@untzag.com>2021-07-05 15:42:38 -0500
committerBlaise Thompson <blaise@untzag.com>2021-07-05 15:42:38 -0500
commit92ece015bf23e0d078b8798e52d10a6cdfe7010c (patch)
tree02bad14238bfc3f4611f333dd4c6e6bf6e64f688 /publicize.sh
parent70f88e4d34cb18ddf75f56c14e4aa2531b694952 (diff)
refactor to build using python
Diffstat (limited to 'publicize.sh')
-rwxr-xr-xpublicize.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/publicize.sh b/publicize.sh
index a5bb3d7..ebc5739 100755
--- a/publicize.sh
+++ b/publicize.sh
@@ -1 +1,6 @@
-scp -r public/* root@blaise.zone:/var/www/blaise.zone/html/
+#!/bin/bash
+cd "$(dirname "$0")"
+git pull
+python3 build.py
+cp -r ./public/* /var/www/blaise.zone/html/
+