Skip to content

trigger hugo build

trigger hugo build #71

# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: Deploy to Hugo site to Firebase Hosting on merge
on:
push:
branches:
- trunk
paths:
- "hugo/**"
jobs:
build_and_deploy:
runs-on: ubuntu-latest
container:
image: ghcr.io/${{ github.repository }}:trunk
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build Hugo site
run: bun run build
- name: Deploy to Firebase
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_DOULA_COOPERATIVE }}
channelId: live
projectId: doula-cooperative