Browse Source

updating deploy script

post_vjs2
Levi Olson 6 years ago
parent
commit
999144e0bc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      .gitlab-ci.yml

+ 1
- 1
.gitlab-ci.yml View File

@ -22,7 +22,7 @@ deploy_prod:
- npm install
- sshpass -V
- export SSHPASS=$SSH_PASS
- sshpass -e ssh -t 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\""
environment:
name: production
url: https://leviolson.com

Loading…
Cancel
Save