Fix: improve deployscript for hetzner

This commit is contained in:
Pieter Vander Vennet 2023-10-11 16:57:42 +02:00
parent e1a785ba9c
commit dcd02e9ad7

View file

@ -22,4 +22,5 @@ rsync -rzh --progress dist.zip hetzner:/root/ &&
echo "Upload completed, deploying config and booting" &&
ssh hetzner -t "unzip dist.zip && rm dist.zip && rm -rf public/ && mv dist public && caddy stop && caddy start" &&
rm dist.zip
mv config.json.bu config.json
npm run clean