Merge branch 'master' into release/rework-css

This commit is contained in:
Jean-Baptiste Pasquier 2020-05-26 13:28:12 +02:00
commit 0d1cf94a0e
No known key found for this signature in database
GPG Key ID: F2702E6D22ED4D62

View File

@ -246,3 +246,21 @@ toulouse:
when: manual when: manual
tags: tags:
- deploy - deploy
volumes:
stage: deployment
environment:
name: volumes
url: https://volumes.hubl.world
before_script:
- npm ci --cache .npm --prefer-offline --only=production
script:
- echo "$APP_CONFIG_VOLUMES" > 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/* volumes-sib@astral.startinblox.com:~/front/
only:
- master
when: manual
tags:
- deploy