Commit c68a6e4a authored by Porkepix's avatar Porkepix

Move Gitlab CI from PM2 to supervisord for prod

parent cad4d9f9
Pipeline #1940 passed with stages
in 1 minute and 59 seconds
...@@ -42,8 +42,8 @@ deploy prod: ...@@ -42,8 +42,8 @@ deploy prod:
- rm -rf node_modules/ - rm -rf node_modules/
- npm install --production - npm install --production
- cp config.json.default config.json - cp config.json.default config.json
- sudo /usr/bin/pm2 startOrRestart slogan.app.yml - sudo supervisorctl restart slogan
- sudo /usr/bin/pm2 show slogan - sudo supervisorctl status slogan
only: only:
- master - master
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