Skip to content
Snippets Groups Projects
Commit ebe46c6b authored by Jean-Baptiste Pasquier's avatar Jean-Baptiste Pasquier
Browse files

cicd: montpellier

parent a0e3b5bd
No related branches found
No related tags found
No related merge requests found
Pipeline #8837 passed with stages
in 3 minutes and 16 seconds
......@@ -912,5 +912,23 @@ latreso:
only:
- master
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
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment