diff options
author | Starfall <us@starfall.systems> | 2024-07-02 19:36:56 -0500 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2024-07-02 19:36:56 -0500 |
commit | 5c2c6d60c949b6912c42230d594b0ab20b210ac5 (patch) | |
tree | 1f3ab5a0b97e73085c41c220e0bb46c48ea49d27 /publish.sh | |
parent | 9164a7cf49c59918c56fb0067897eacd943df6f1 (diff) |
update publish.sh
Diffstat (limited to 'publish.sh')
-rwxr-xr-x | publish.sh | 8 |
1 files changed, 4 insertions, 4 deletions
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" |