Commit 7acf92fe authored by Rosanny Sihombing's avatar Rosanny Sihombing
Browse files

update yml config

parent 36450a27
deploy-testing:
stage: deploy
script:
- cat $configfiledev > ./config/config.js
- cat $cert > ./routes/cert/cert.pem
- cat $certidp > ./routes/cert/cert_idp.pem
- cat $key > ./routes/cert/key.pem
- npm install
- npm run clean
- npm run build
- rm -rf built/public/default
- rm -rf built/routes/cert
- rm -rf built/views
- cp -R public/default /built/public
- cp -R routes/cert built/routes
- cp -R views built
- cat $configfiledev > ./built/config/config.js
- cat $cert > ./built/routes/cert/cert.pem
- cat $certidp > ./built/routes/cert/cert_idp.pem
- cat $key > ./built/routes/cert/key.pem
- "pm2 delete --silent account || :"
- pm2 start ./app.js --name=account
- pm2 start ./built/app.js --name=account
- pm2 save
tags:
- testing
......
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