You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
384 B

image: rambabusaravanan/firebase
stages:
- deploy
cache:
paths:
- node_modules/
key: "$CI_COMMIT_REF_NAME"
deploy-prod:
stage: deploy
only:
- master
script:
- yarn
- yarn run build
- firebase use avian-safeguard-214619 --token $FIREBASE_TOKEN
- firebase deploy --only hosting -m "Pipe $CI_PIPELINE_ID Build $CI_BUILD_ID" --token $FIREBASE_TOKEN