Skip to content

004-07 Implement Global Spacing and Sizing System #9

004-07 Implement Global Spacing and Sizing System

004-07 Implement Global Spacing and Sizing System #9

# 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
steps:
- uses: actions/checkout@v4
- uses: peaceiris/actions-hugo@v3.0.0
with:
hugo-version: "latest"
extended: true
- name: Install Dart Sass
run: sudo snap install dart-sass
- name: Build Hugo site
run: |
cd hugo
hugo --minify
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_DOULA_COOPERATIVE }}
channelId: live
projectId: doula-cooperative