Commit cad4d9f9 authored by Porkepix's avatar Porkepix

Move Gitlab CI from PM2 to supervisord for preprod

parent be220eb0
Pipeline #1938 passed with stages
in 2 minutes and 49 seconds
...@@ -26,8 +26,8 @@ deploy preprod: ...@@ -26,8 +26,8 @@ deploy preprod:
- rm -rf node_modules/ - rm -rf node_modules/
- npm install - npm install
- 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:
- preprod - preprod
......
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