fix clubref #755
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: Build + Deploy | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
name: Deploy Functions App | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@master | |
- name: Config Node Version | |
uses: actions/setup-node@master | |
with: | |
node-version: 20 | |
# Runs a single command using the runners shell | |
# And of course we need to goto our functions folder to deploy | |
- name: Install npm packages | |
run: | | |
cd functions | |
npm install --force | |
- name: Deploy to Firebase | |
uses: w9jds/[email protected] | |
with: | |
args: deploy --only functions | |
env: | |
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} |