cicd: fixed private key variable

This commit is contained in:
plup 2019-11-20 21:09:14 +01:00
parent 81776a45c4
commit 64c5ad65c3

View File

@ -9,9 +9,8 @@ deploy_staging:
script: script:
- npm install - npm install
- echo $APP_CONFIG - echo $APP_CONFIG
- echo $APP_CONFIG > config.json
- npm run build - npm run build
- echo $SSH_PRIAVTE_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/ - scp -i gitlab.key -r build/* test-paris@ssh-test-paris.happy-dev.fr:~/staging/www/
only: only:
- feat/manager_deploy - feat/manager_deploy