Skip to content

Update mission types #354

Update mission types

Update mission types #354

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@v4
with:
version: 9.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