cicd: added etuc

This commit is contained in:
plup 2020-03-19 14:05:24 +01:00
parent 9a71edc41c
commit e9a6739b31

View File

@ -113,6 +113,23 @@ alpha:
tags: tags:
- deploy - deploy
etuc:
stage: deployment
environment:
name: etuc
url: https://app.digitalplatformobservatory.org
script:
- echo "$APP_CONFIG_DIGITALPLATFORMOBSERVATORY" > config.json
- echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
- npm install
- npm run build
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* etuc@ssh-etuc.happy-dev.fr:~/sib/www/
only:
- master
when: manual
tags:
- deploy
nantes: nantes:
stage: deployment stage: deployment
environment: environment: