cicd: removed hostkey check

This commit is contained in:
plup 2019-11-20 22:03:08 +01:00
parent c8d25da34f
commit 334b3a7cda

View File

@ -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: