Fix for cases where screen is not running
This commit is contained in:
parent
3dd26e1a88
commit
6e0a0f9a74
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ redeploy-site:
|
||||||
- *ssh_default
|
- *ssh_default
|
||||||
script:
|
script:
|
||||||
- echo "Stopping screen session"
|
- echo "Stopping screen session"
|
||||||
- ssh $DEPLOY_USER@$DEPLOY_HOST "screen -X -S website-firq-npx kill;"
|
- ssh $DEPLOY_USER@$DEPLOY_HOST "screen -X -S website-firq-npx kill" || true
|
||||||
- echo "Restarting screen session"
|
- echo "Restarting screen session"
|
||||||
- ssh $DEPLOY_USER@$DEPLOY_HOST "screen -S website-firq-npx -dm npx serve public/ -p 9000 -c serve.json"
|
- ssh $DEPLOY_USER@$DEPLOY_HOST "screen -S website-firq-npx -dm npx serve public/ -p 9000 -c serve.json"
|
||||||
- echo "Website is up on https://firq.dev/"
|
- echo "Website is up on https://firq.dev/"
|
||||||
|
|
Loading…
Reference in a new issue