image: node stages: - deploy deploy_staging: stage: deploy environment: staging script: - echo $APP_CONFIG > config.json - echo $SSH_PRIVATE_KEY > 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/ only: - feat/manager_deploy tags: - sib