From a82dc5828ddb1c4c016b3c0b8ee344bf83a3b1ac Mon Sep 17 00:00:00 2001 From: Levi Olson Date: Mon, 30 Apr 2018 15:00:51 -0500 Subject: [PATCH] exiting deploy without error --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 032fea5..2f9faa2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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