forked from MapComplete/MapComplete
Fix CSP issues
This commit is contained in:
parent
56b83cfa36
commit
06c2e2fec8
7 changed files with 227 additions and 147 deletions
|
@ -16,9 +16,9 @@ npm run test &&
|
|||
npm run prepare-deploy &&
|
||||
zip dist.zip -r dist/* &&
|
||||
mv config.json.bu config.json &&
|
||||
scp ./scripts/hetzner/config/* hetzner:/root/ &&
|
||||
scp ./Docs/ServerConfig/hetzner/* hetzner:/root/ &&
|
||||
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
|
||||
# rm dist.zip
|
||||
npm run clean
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue