fix: ssh user and adress of test-nantes & stage for test-nantes
This commit is contained in:
parent
7d382df653
commit
a821bc1c3b
@ -2,7 +2,7 @@ image: node
|
|||||||
|
|
||||||
stages:
|
stages:
|
||||||
- deploy_staging
|
- deploy_staging
|
||||||
- deploy_production
|
- deploy_preproduction
|
||||||
|
|
||||||
## STAGING ##
|
## STAGING ##
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ deploy_paris_stg:
|
|||||||
- sib
|
- sib
|
||||||
|
|
||||||
deploy_nantes:
|
deploy_nantes:
|
||||||
stage: deploy_staging
|
stage: deploy_preproduction
|
||||||
environment:
|
environment:
|
||||||
name: nantes
|
name: nantes
|
||||||
url: https://test-nantes.happy-dev.fr
|
url: https://test-nantes.happy-dev.fr
|
||||||
@ -33,7 +33,7 @@ deploy_nantes:
|
|||||||
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key
|
||||||
- npm install
|
- npm install
|
||||||
- npm run build
|
- npm run build
|
||||||
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* test-paris@ssh-test-paris.happy-dev.fr:~/staging/www/
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* test-nantes@ssh-test-nantes.happy-dev.fr:~/www/
|
||||||
only:
|
only:
|
||||||
- staging
|
- staging
|
||||||
- feat/manager_deploy
|
- feat/manager_deploy
|
||||||
@ -43,7 +43,7 @@ deploy_nantes:
|
|||||||
## PRODUCTION ##
|
## PRODUCTION ##
|
||||||
|
|
||||||
deploy_paris:
|
deploy_paris:
|
||||||
stage: deploy_production
|
stage: deploy_preproduction
|
||||||
environment:
|
environment:
|
||||||
name: paris
|
name: paris
|
||||||
url: https://test-paris.happy-dev.fr
|
url: https://test-paris.happy-dev.fr
|
||||||
|
Loading…
Reference in New Issue
Block a user