diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2e4ab5ea2b7c86984525631767aede9dc9978d2b..76d23fe2ab51eefc7f6efcca77f5ce6274c26c96 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,4 +8,16 @@ pages-devel: tags: - testing only: - - testing \ No newline at end of file + - testing + +pages-devel: + stage: deploy + script: + - npm install + - "pm2 delete --silent project || :" + - pm2 start ./app.js --name=project + - pm2 save + tags: + - production + only: + - master \ No newline at end of file