cicd: removed hostkey check
This commit is contained in:
parent
c8d25da34f
commit
334b3a7cda
@ -7,11 +7,11 @@ deploy_staging:
|
|||||||
stage: deploy
|
stage: deploy
|
||||||
environment: staging
|
environment: staging
|
||||||
script:
|
script:
|
||||||
- npm install
|
|
||||||
- echo $APP_CONFIG > config.json
|
- echo $APP_CONFIG > config.json
|
||||||
- npm run build
|
|
||||||
- echo $SSH_PRIVATE_KEY > gitlab.key
|
- echo $SSH_PRIVATE_KEY > gitlab.key
|
||||||
- scp -i gitlab.key -r build/* test-paris@ssh-test-paris.happy-dev.fr:~/staging/www/
|
- npm install
|
||||||
|
- npm run build
|
||||||
|
- scp -i gitlab.key -o StrictHostKeyChecking=no -r build/* test-paris@ssh-test-paris.happy-dev.fr:~/staging/www/
|
||||||
only:
|
only:
|
||||||
- feat/manager_deploy
|
- feat/manager_deploy
|
||||||
tags:
|
tags:
|
||||||
|
Loading…
Reference in New Issue
Block a user