diff --git a/scripts/hetzner/deployHetzner.sh b/scripts/hetzner/deployHetzner.sh index 70aec756f..8d692a40c 100755 --- a/scripts/hetzner/deployHetzner.sh +++ b/scripts/hetzner/deployHetzner.sh @@ -10,6 +10,8 @@ # unzip tiles.zip MAPCOMPLETE_CONFIGURATION="config_hetzner" +npm run reset:layeroverview +npm run test cp config.json config.json.bu && cp ./scripts/hetzner/config.json . && npm run prepare-deploy && @@ -17,4 +19,5 @@ mv config.json.bu config.json && zip dist.zip -r dist/* && scp -r dist.zip 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