Skip to content

Commit

Permalink
add cd
Browse files Browse the repository at this point in the history
  • Loading branch information
chase-manning committed Nov 30, 2023
1 parent d0368ac commit 6eb691a
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Deploy to Firebase on merge
"on":
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Installing Dependencies
working-directory: ./functions
run: yarn
- name: Building App
working-directory: ./functions
run: yarn run build
- name: Install Firebase Tools
run: npm install -g firebase-tools
- name: Deploying to Firebase
run: firebase deploy --token "${{ secrets.FIREBASE_SECRET }}"

0 comments on commit 6eb691a

Please sign in to comment.