Deployment: add clean step

This commit is contained in:
Pieter Vander Vennet 2023-09-26 01:27:32 +02:00
parent 72572ce1a6
commit 8866488bd6

View file

@ -21,3 +21,4 @@ scp -r dist.zip hetzner:/root/ &&
scp ./scripts/hetzner/config/* hetzner:/root/ scp ./scripts/hetzner/config/* hetzner:/root/
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
npm run clean