cicd: add georgetown-uni

This commit is contained in:
Jean-Baptiste Pasquier 2020-09-02 15:29:27 +00:00
parent 1077b1e39c
commit 5ffe0b63ab
1 changed files with 18 additions and 0 deletions

View File

@ -552,3 +552,21 @@ apidays:
when: manual
tags:
- 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