cicd: rename georgetown-uni to ejp

This commit is contained in:
Jean-Baptiste Pasquier 2020-09-03 12:00:59 +00:00
parent e28cbd9805
commit f93b6bc2aa
1 changed files with 4 additions and 4 deletions

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/