diff options
Diffstat (limited to 'deploy.sh')
-rwxr-xr-x | deploy.sh | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2,6 +2,7 @@ set -e +HOST=${HOST:-rpi3} # Build static site zig build @@ -14,7 +15,7 @@ zig build \ popd # Copy static site -rsync -rz zig-out/* root@rpi3:/var/www/mfashby.net +rsync -rz zig-out/* root@$HOST:/var/www/mfashby.net # Copy comments app -rsync comments/zig-out/bin/comments root@rpi3:/usr/local/bin/comments +rsync comments/zig-out/bin/comments root@$HOST:/usr/local/bin/comments |