diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4c8e338..d32934b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,6 +9,7 @@ deploy_staging: script: - echo $APP_CONFIG > config.json - echo $SSH_PRIVATE_KEY > gitlab.key + - chmod 600 gitlab.key - npm install - npm run build - scp -i gitlab.key -o StrictHostKeyChecking=no -r build/* test-paris@ssh-test-paris.happy-dev.fr:~/staging/www/