Merge pull request #166 from azumag/fix/schedule #259
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: master branch workflow | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
firebase-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions/setup-node@master | |
with: | |
node-version: '14.x' | |
- run: yarn | |
- run: yarn global add nuxt | |
- run: yarn generate | |
- run: cd functions && | |
npm install && | |
npm run build && | |
cd .. | |
- uses: w9jds/firebase-action@master | |
with: | |
args: deploy | |
env: | |
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} |