Update dependencies and refactor Editor component #29
This file contains hidden or 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: React build and deploy to firebase | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build_and_deploy: | |
name: Build and deploy | |
runs-on: [ubuntu-latest] | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
- name: Install Dependencies | |
run: npm install | |
- name: Build Webpack Module | |
run: npm run build | |
- name: Deploy to Firebase | |
uses: w9jds/firebase-action@master | |
with: | |
args: deploy | |
env: | |
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} |