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

cicd: add casaco

parent dc0e03ac
No related branches found
No related tags found
1 merge request!200Feature/projects
Pipeline #6746 passed
...@@ -300,3 +300,21 @@ playground: ...@@ -300,3 +300,21 @@ playground:
when: manual when: manual
tags: tags:
- deploy - deploy
casaco:
stage: deployment
environment:
name: casaco
url: https://casaco.hubl.world
before_script:
- npm ci --cache .npm --prefer-offline --only=production
script:
- echo "$APP_CONFIG_CASACO" > 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/* casaco@astral.startinblox.com:~/front/
only:
- master
when: manual
tags:
- deploy
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