cicd: fix alpha and add community
This commit is contained in:
parent
25a857b675
commit
2497b502ad
@ -99,7 +99,7 @@ stg2:
|
||||
alpha:
|
||||
stage: deployment
|
||||
environment:
|
||||
name: paris
|
||||
name: alpha
|
||||
url: https://alpha.happy-dev.fr
|
||||
script:
|
||||
- echo "$APP_CONFIG_ALPHA" > config.json
|
||||
@ -113,6 +113,23 @@ alpha:
|
||||
tags:
|
||||
- deploy
|
||||
|
||||
community:
|
||||
stage: deployment
|
||||
environment:
|
||||
name: community
|
||||
url: https://community.startinblox.com
|
||||
script:
|
||||
- echo "$APP_CONFIG_COMMUNITY" > 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/* community@astral.startinblox.com:~/front/
|
||||
only:
|
||||
- master
|
||||
when: manual
|
||||
tags:
|
||||
- deploy
|
||||
|
||||
etuc:
|
||||
stage: deployment
|
||||
environment:
|
||||
|
Loading…
Reference in New Issue
Block a user