Commit 3c614942 authored by Rosanny Sihombing's avatar Rosanny Sihombing
Browse files

MLAB-677: update ci/cd

parent c2b73ce6
...@@ -6,7 +6,7 @@ deploy-testing: ...@@ -6,7 +6,7 @@ deploy-testing:
- cat $certidp > ./built/routes/cert/cert_idp.pem - cat $certidp > ./built/routes/cert/cert_idp.pem
- cat $key > ./built/routes/cert/key.pem - cat $key > ./built/routes/cert/key.pem
- "pm2 delete --silent account || :" - "pm2 delete --silent account || :"
- pm2 start ./built/app.js --name=account - pm2 start ./built/index.js --name=account
- pm2 save - pm2 save
tags: tags:
- testing - testing
...@@ -22,7 +22,7 @@ deploy-master: ...@@ -22,7 +22,7 @@ deploy-master:
- cat $key > ./routes/cert/key.pem - cat $key > ./routes/cert/key.pem
- npm install - npm install
- "pm2 delete --silent account || :" - "pm2 delete --silent account || :"
- pm2 start ./app.js --name=account - pm2 start ./index.js --name=account
- pm2 save - pm2 save
tags: tags:
- production - production
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment