Add firebase hosting config #1
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 hosting | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
env: | |
FIREBASE_TOKEN: ${{secrets.FIREBASE_TOKEN}} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build and deploy | |
run: | | |
npm run deploy |