Deployment: add clean step
This commit is contained in:
parent
72572ce1a6
commit
8866488bd6
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue