Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Github Action script to test and deploy to firebase
name: Deploy to firebase
on:
release:
types:
- published
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
- name: Setup the code
run: npm install
- name: Test the code
run: npm test
- name: Deploy to Firebase
uses: mohammed-atif/firebase-publish-react@v1.0
with:
firebase-token: ${{ secrets.FIREBASE_TOKEN }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment