Merge branch 'master' into release/projects

This commit is contained in:
Jean-Baptiste Pasquier 2020-09-02 17:34:29 +02:00
commit c9315f5f45

View File

@ -552,3 +552,21 @@ apidays:
when: manual when: manual
tags: tags:
- deploy - deploy
georgetownuni:
stage: deployment
environment:
name: georgetownuni
url: https://georgetown-uni.hubl.world
before_script:
- npm ci --cache .npm --prefer-offline --only=production
script:
- echo "$APP_CONFIG_GEORGETOWNUNI" > 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/
only:
- master
when: manual
tags:
- deploy