qpa-client/.gitlab-ci.yml

21 lines
578 B
YAML
Raw Normal View History

2018-06-03 13:55:38 +02:00
image: devillex/docker-firebase:latest
cache:
paths:
- node_modules/
2018-06-03 12:09:20 +02:00
- functions/node_modules/
2018-05-18 12:40:21 +02:00
deploy_staging:
stage: deploy
2018-05-18 12:40:21 +02:00
environment: staging
only:
- master
script:
2018-05-19 12:57:03 +02:00
- make configure-functions-staging
2018-05-19 08:45:42 +02:00
- yarn
- (cd functions; yarn)
2018-06-03 11:51:08 +02:00
- (cd functions; yarn lint)
2018-09-08 20:22:17 +02:00
- (yarn global add create-react-app react-scripts-ts; cd webapp; yarn build)
2018-05-18 18:58:01 +02:00
- firebase use --token $FIREBASE_DEPLOY_KEY_STAGING qpa-staging
- firebase deploy -m "Pipeline $CI_PIPELINE_ID, build $CI_BUILD_ID" --non-interactive --token $FIREBASE_DEPLOY_KEY_STAGING