Merge branch 'master' of git.startinblox.com:applications/hubl into release/unreads

This commit is contained in:
Jean-Baptiste Pasquier 2020-06-29 20:00:13 +02:00
commit 6d131f5f8b
No known key found for this signature in database
GPG Key ID: F2702E6D22ED4D62
1 changed files with 18 additions and 0 deletions

View File

@ -282,3 +282,21 @@ communityhubl:
when: manual
tags:
- deploy
playground:
stage: deployment
environment:
name: playground
url: https://playground.hubl.world
before_script:
- npm ci --cache .npm --prefer-offline --only=production
script:
- echo "$APP_CONFIG_PLAYGROUND" > config.json
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
- npm run build
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* playground@astral.startinblox.com:~/front/
only:
- master
when: manual
tags:
- deploy