hubl/.gitlab-ci.yml
2019-11-20 22:05:53 +01:00

20 lines
409 B
YAML

image: node
stages:
- deploy
deploy_staging:
stage: deploy
environment: 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/
only:
- feat/manager_deploy
tags:
- sib