Add override for Grimoire #341
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 to Firebase | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build_and_deploy: | |
name: Build & Deploy | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, 'ci skip')" | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
- name: Cache pnpm Modules | |
uses: actions/cache@v3 | |
with: | |
path: ~/.local/share/pnpm/store | |
key: pnpm-cache-${{ hashFiles('pnpm-lock.yaml') }} | |
restore-keys: | | |
pnpm-cache- | |
- name: Setup pnpm | |
uses: pnpm/action-setup@v2 | |
with: | |
version: 8.0.0 | |
run_install: true | |
- name: Build | |
run: pnpm run build | |
- name: Deploy to Firebase | |
uses: FirebaseExtended/action-hosting-deploy@v0 | |
with: | |
repoToken: '${{ secrets.GITHUB_TOKEN }}' | |
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_FRAMEHUB_F9CFB }}' | |
channelId: live | |
projectId: framehub-f9cfb | |
env: | |
FIREBASE_CLI_PREVIEWS: hostingchannels |