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

Update .gitlab-ci.yml

7 merge requests!143updating yml config,!67Testing,!64Prepare production,!63Prepare after testing,!62Testing,!60Mlab 240,!59Mlab 240
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