Skip to content

Instantly share code, notes, and snippets.

@Tittoh
Created October 28, 2020 01:30
Show Gist options
  • Save Tittoh/f0d873a4766b62b157121dc63bd2775c to your computer and use it in GitHub Desktop.
Save Tittoh/f0d873a4766b62b157121dc63bd2775c to your computer and use it in GitHub Desktop.
Git workflow to deploy Firebase applications
name: CI/CD
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build
run: |
npm install
npm run build
- name: Firebase Deploy
run: |
sudo npm install -g firebase-tools
firebase deploy --token ${{ secrets.FIREBASE_TOKEN }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment