/react-firebase-deploy.yaml Secret
Last active
October 25, 2020 09:59
Star
You must be signed in to star a gist
Github Action script to test and deploy to firebase
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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