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

Update .gitlab-ci.yml

parent 68f76bef
pages-testing:
deploy-testing:
stage: deploy
script:
- cat $configfiledev > ./config/config.js
- npm install
- "pm2 delete --silent account || :"
- pm2 start ./app.js --name=account
......@@ -9,4 +10,16 @@ pages-testing:
- testing
only:
- 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
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