Commit 66ee5001 authored by Wolfgang Knopki's avatar Wolfgang Knopki
Browse files

Update .gitlab-ci.yml

parent 68f76bef
This commit is part of merge request !60. Comments created here will be created in the context of that merge request.
Showing with 15 additions and 2 deletions
+15 -2
pages-testing: deploy-testing:
stage: deploy stage: deploy
script: script:
- cat $configfiledev > ./config/config.js
- npm install - npm install
- "pm2 delete --silent account || :" - "pm2 delete --silent account || :"
- pm2 start ./app.js --name=account - pm2 start ./app.js --name=account
...@@ -9,4 +10,16 @@ pages-testing: ...@@ -9,4 +10,16 @@ pages-testing:
- testing - testing
only: only:
- testing - testing
- test_logoutbutton
\ No newline at end of file deploy-master:
stage: deploy
script:
- cat $configfileprod > ./config/config.js
- npm install
- "pm2 delete --silent account || :"
- pm2 start ./app.js --name=account
- pm2 save
tags:
- production
only:
- master
\ No newline at end of file
Supports Markdown
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