aboutsummaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh10
1 files changed, 3 insertions, 7 deletions
diff --git a/deploy.sh b/deploy.sh
index 60efc13..5cd7610 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -3,7 +3,7 @@
set -e
# Build static site
-hugo
+zig build
# Build comments app
pushd comments
@@ -15,12 +15,8 @@ fi
zig build -Doptimize=ReleaseSafe -Dcpu=baseline
popd
-# TODO update caddy with offline message while site being updated
-
# Copy static site
-rsync -rz public/* root@rpi3:/var/www/mfashby.net
+#rsync -rz zig-out/* root@rpi3:/var/www/mfashby.net
# Copy comments app
-rsync comments/zig-out/bin/comments root@rpi3:/usr/local/bin/comments
-
-# TODO set caddy back to online
+#rsync comments/zig-out/bin/comments root@rpi3:/usr/local/bin/comments