Fix: improve deployscript for hetzner
This commit is contained in:
parent
e1a785ba9c
commit
dcd02e9ad7
1 changed files with 1 additions and 0 deletions
|
@ -22,4 +22,5 @@ rsync -rzh --progress dist.zip hetzner:/root/ &&
|
||||||
echo "Upload completed, deploying config and booting" &&
|
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" &&
|
ssh hetzner -t "unzip dist.zip && rm dist.zip && rm -rf public/ && mv dist public && caddy stop && caddy start" &&
|
||||||
rm dist.zip
|
rm dist.zip
|
||||||
|
mv config.json.bu config.json
|
||||||
npm run clean
|
npm run clean
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue