cicd: add cotech & facttic
This commit is contained in:
parent
566802d801
commit
b44c950c1a
@ -352,5 +352,41 @@ labriqueterie:
|
|||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
when: manual
|
when: manual
|
||||||
|
tags:
|
||||||
|
- deploy
|
||||||
|
|
||||||
|
facttic:
|
||||||
|
stage: deployment
|
||||||
|
environment:
|
||||||
|
name: facttic
|
||||||
|
url: https://facttic.hubl.world
|
||||||
|
before_script:
|
||||||
|
- npm ci --cache .npm --prefer-offline --only=production
|
||||||
|
script:
|
||||||
|
- echo "$APP_CONFIG_FACTTIC" > 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/* facttic@astral.startinblox.com:~/front/
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
when: manual
|
||||||
|
tags:
|
||||||
|
- deploy
|
||||||
|
|
||||||
|
cotech:
|
||||||
|
stage: deployment
|
||||||
|
environment:
|
||||||
|
name: cotech
|
||||||
|
url: https://hubl.coops.tech
|
||||||
|
before_script:
|
||||||
|
- npm ci --cache .npm --prefer-offline --only=production
|
||||||
|
script:
|
||||||
|
- echo "$APP_CONFIG_COTECH" > 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/* cotech@astral.startinblox.com:~/front/
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
when: manual
|
||||||
tags:
|
tags:
|
||||||
- deploy
|
- deploy
|
Loading…
Reference in New Issue
Block a user