|
|
@ -28,7 +28,7 @@ deploy_prod: |
|
|
|
- npm install |
|
|
|
- sshpass -V |
|
|
|
- export SSHPASS=$SSH_PASS |
|
|
|
- sshpass -e ssh root@45.55.44.195 "cd /home/forge/leviolson-website && git pull && bash -c \"pm2 stop LeviOlson.com && pm2 delete LeviOlson.com && pm2 start app.js --name LeviOlson.com && pm2 logs --nostream --lines 2 LeviOlson.com\"" |
|
|
|
- sshpass -e ssh root@45.55.44.195 "cd /home/forge/leviolson-website && git pull && bash -c \"pm2 stop LeviOlson.com && pm2 delete LeviOlson.com && pm2 start app.js --name LeviOlson.com && pm2 logs --nostream --lines 2 LeviOlson.com && exit 0\" && exit 0" |
|
|
|
environment: |
|
|
|
name: production |
|
|
|
url: https://leviolson.com |
|
|
|