Commit 61a3dfc5 authored by Wolfgang Knopki's avatar Wolfgang Knopki
Browse files

adapted master pipeline to ts

parent 2f138599
...@@ -18,10 +18,15 @@ pages-testing: ...@@ -18,10 +18,15 @@ pages-testing:
pages-production: pages-production:
stage: deploy stage: deploy
script: script:
- cat $configfileprod > ./config/config.js script:
- npm install - npm install
- npm run clean
- npm run build
- rm -rf ./built/views
- cp -R ./views ./built
- cat $configfileprod > ./built/config/config.js
- "pm2 delete --silent project || :" - "pm2 delete --silent project || :"
- pm2 start ./app.js --name=project - pm2 start ./built/app.js --name=project
- pm2 save - pm2 save
tags: tags:
- production - production
......
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