Merge branch 'master' into release/projects

This commit is contained in:
Jean-Baptiste Pasquier 2020-09-03 19:55:59 +02:00
commit e7a6e2d7c2

View File

@ -553,15 +553,15 @@ apidays:
tags:
- deploy
georgetownuni:
ejp:
stage: deployment
environment:
name: georgetownuni
url: https://georgetown-uni.hubl.world
name: ejp
url: https://ejp.hubl.world
before_script:
- npm ci --cache .npm --prefer-offline --only=production
script:
- echo "$APP_CONFIG_GEORGETOWNUNI" > config.json
- echo "$APP_CONFIG_EJP" > 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/* georgetown-uni@astral.startinblox.com:~/front/