mirror of
https://github.com/quepasaevents/qpa-client.git
synced 2023-12-14 05:33:02 +01:00
21 lines
578 B
YAML
21 lines
578 B
YAML
image: devillex/docker-firebase:latest
|
|
|
|
cache:
|
|
paths:
|
|
- node_modules/
|
|
- functions/node_modules/
|
|
|
|
deploy_staging:
|
|
stage: deploy
|
|
environment: staging
|
|
only:
|
|
- master
|
|
script:
|
|
- make configure-functions-staging
|
|
- yarn
|
|
- (cd functions; yarn)
|
|
- (cd functions; yarn lint)
|
|
- (yarn global add create-react-app react-scripts-ts; cd webapp; yarn build)
|
|
- 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
|