Skip to content

Merge pull request #1188 from Metro-Records/hcg/email #11

Merge pull request #1188 from Metro-Records/hcg/email

Merge pull request #1188 from Metro-Records/hcg/email #11

Workflow file for this run

name: Publish documentation to GitHub Pages
on:
workflow_dispatch:
push:
branches:
- main
jobs:
build-and-deploy:
name: Build and publish documentation
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out repository
uses: actions/checkout@v4
- uses: tj-actions/changed-files@v45
id: docs-changed
with:
files: |
docs/*
- name: Set up Quarto
if: steps.docs-changed.outputs.any_changed == 'true'
uses: quarto-dev/quarto-actions/setup@v2
- name: Render and Publish
if: steps.docs-changed.outputs.any_changed == 'true'
uses: quarto-dev/quarto-actions/publish@v2
with:
path: docs
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}