mfashby.net

Website mfashby.net
git clone git://code.mfashby.net:/mfashby.net
Log | Files | Refs | Submodules | README

commit bf3776c4a076821fedeb742b356b042171d5f472
parent c9aa5dbae5b08b1f54ae73f2e47b54ca933bce88
Author: Martin Ashby <martin@ashbysoft.com>
Date:   Thu, 16 Jan 2025 23:24:19 +0000

Update deploy script for new server

Diffstat:
Mdeploy.sh | 20+++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/deploy.sh b/deploy.sh @@ -2,20 +2,22 @@ set -e -HOST=${HOST:-rpi3} +HOST=${HOST:-mserver} +USER=${USER:-git} # Build static site zig build # Build comments app -pushd comments -zig build \ - -Doptimize=ReleaseSafe \ - -Dtarget=aarch64-linux-gnu \ - -Dcpu=baseline -popd +# Comments is disabled until I can make it work on openbsd +#pushd comments +#zig build \ +# -Doptimize=ReleaseSafe \ +# -Dtarget=aarch64-linux-gnu \ +# -Dcpu=baseline +#popd # Copy static site -rsync -rz zig-out/* root@$HOST:/var/www/mfashby.net +rsync -rz zig-out/* ${USER}@$HOST:/var/www/mfashby.net # Copy comments app -rsync comments/zig-out/bin/comments root@$HOST:/usr/local/bin/comments +#rsync comments/zig-out/bin/comments root@$HOST:/usr/local/bin/comments