From 11855d91f77cf37062e3cba32bd7c3d63ed304a7 Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Mon, 23 Dec 2024 21:30:20 +0000 Subject: Fix rss.xml Allow override of host for deploy --- deploy.sh | 5 +++-- layouts/rss.xml | 22 ++++++++++++---------- 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/deploy.sh b/deploy.sh index 48f8c79..fb3d868 100755 --- a/deploy.sh +++ b/deploy.sh @@ -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 diff --git a/layouts/rss.xml b/layouts/rss.xml index 838c747..fb4a317 100644 --- a/layouts/rss.xml +++ b/layouts/rss.xml @@ -1,4 +1,4 @@ - @@ -8,13 +8,15 @@ en-gb Sun, 03 Mar 2024 19:31:27 +0000 - - - - - - - - + + + + + + + + + + - \ No newline at end of file + -- cgit v1.2.3-ZIG