cicd: added etuc
This commit is contained in:
parent
9a71edc41c
commit
e9a6739b31
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user