cicd: montpellier
This commit is contained in:
parent
a0e3b5bd54
commit
ebe46c6b6f
@ -914,3 +914,21 @@ latreso:
|
||||
when: manual
|
||||
tags:
|
||||
- deploy
|
||||
|
||||
montpellier:
|
||||
stage: deployment
|
||||
environment:
|
||||
name: montpellier
|
||||
url: https://app.montpellier.happy-dev.fr
|
||||
before_script:
|
||||
- npm ci --cache .npm --prefer-offline --only=production
|
||||
script:
|
||||
- echo "$APP_CONFIG_MONTPELLIER" > 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/* montpellier@ssh-montpellier.happy-dev.fr:~/front/
|
||||
only:
|
||||
- master
|
||||
when: manual
|
||||
tags:
|
||||
- deploy
|
Loading…
Reference in New Issue
Block a user