Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

10 Commits

Repository files navigation

firebase-deploy

CircleCIOrb for deploying to Firebase

Usage

Read the docs

Example .circleci/config.yaml

version: 2.1orbs:
firebase-deploy: azdevs/firebase-deploy@1.0.0jobs:
build:
docker:
- image: circleci/node:ltssteps:
- checkout
- restore_cache:
key: v1-yarn-{{ checksum "yarn.lock" }}
- run: yarn install
- save_cache:
key: v1-yarn-{{ checksum "yarn.lock" }}paths:
- ./node_modules
- run: yarn build
- persist_to_workspace:
root: /tmp/workspacepaths:
- dist
- firebase.json
- .firebaserc
- firestore.rules
- firestore.indexes.jsondeploy-staging:
docker:
- image: circleci/node:ltssteps:
- attach_workspace:
at: /tmp/workspace
- firebase-deploy/deploy:
token: $FIREBASE_DEPLOY_TOKENalias: staging # name of an alias from your .firebasercworkflows:
version: 2build-and-deploy-staging:
jobs:
- build
- deploy-staging:
requires:
- buildfilters:
branches:
ignore: master

Releases

Packages

Contributors