From 5c2c6d60c949b6912c42230d594b0ab20b210ac5 Mon Sep 17 00:00:00 2001 From: Starfall Date: Tue, 2 Jul 2024 19:36:56 -0500 Subject: update publish.sh --- publish.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'publish.sh') diff --git a/publish.sh b/publish.sh index c294451..1e7da44 100755 --- a/publish.sh +++ b/publish.sh @@ -1,8 +1,8 @@ set -exuo pipefail npx @11ty/eleventy -mkdir -p /srv/www.starfall.systems -cp -r _site /srv/www.starfall.systems -install www.starfall.systems /etc/nginx/sites-available/www.starfall.systems -sudo nginx -s reload +rsync -avz _site/* starfall.systems:/srv/starfall.systems +# re-enable this some other time - this config file is currently owned by root +# rsync -avz starfall.systems:/etc/nginx/sites-available/starfall.systems +# ssh starfall.systems "sudo nginx -s reload" -- cgit