Merge branch 'add_graphql' #6
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 to Firebase Hosting | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build_and_deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Node.js and pnpm | |
uses: pnpm/setup-pnpm@v2 | |
with: | |
version: '7.29.1' | |
- name: Install Firebase CLI | |
run: npm install -g firebase-tools | |
- name: Install dependencies | |
run: pnpm install | |
- name: Login to Firebase | |
run: firebase login:ci | |
env: | |
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} | |
- name: Build your app | |
run: pnpm deploy:site |