This commit is contained in:
Firq 2023-03-16 18:10:12 +01:00
parent a1c365ae05
commit b2efde1d2c
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20

View file

@ -17,7 +17,7 @@ deploy-site:
script:
- echo "Connecting to proxmox machine"
- ssh $DEPLOY_USER@$DEPLOY_HOST -o StrictHostKeyChecking=no IdentitiesOnly=yes "screen -X -S website-firq-npx kill; rm -r -f public/*; cd build; git reset --hard; git pull; rm -r -f node_modules; npm install; npm run build; cp -R public ~; cp server.json ~; cd ~; screen -S website-firq-npx -dm npx serve public/ -p 9000 -c serve.json"
- ssh $DEPLOY_USER@$DEPLOY_HOST -o StrictHostKeyChecking=no IdentitiesOnly=yes "screen -X -S website-firq-npx kill; rm -r -f public/*; cd build; git reset --hard; git pull; rm -r -f node_modules; npm install; npm run build; cp -R public ~; cp serve.json ~; cd ~; screen -S website-firq-npx -dm npx serve public/ -p 9000 -c serve.json"
success_notification:
stage: notification