diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a04d420..b84dea4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,9 +31,9 @@ deploy_prod: script: - echo "Deploying to Production" - npm install - - ssh root@206.189.236.142 "cd /opt/apps/leviolson.com && git pull && npm install && 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" + - ssh root@68.183.173.226 "cd /opt/website && git pull && npm install && bash -c \"pm2 stop LeviOlson && pm2 delete LeviOlson && pm2 start app.js --name LeviOlson --watch && pm2 logs --nostream --lines 2 LeviOlson && exit 0\" && exit 0" environment: name: production url: https://leviolson.com only: - - master \ No newline at end of file + - master