Skip to content

chore: apply CI template update (#711) #35

chore: apply CI template update (#711)

chore: apply CI template update (#711) #35

Workflow file for this run

name: Site
on:
pull_request:
push:
branches: [main]
release:
types: [published]
concurrency:
group: "site-${{ github.event.pull_request.number || github.ref }}"
cancel-in-progress: false
jobs:
site-pr:
if: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
uses: athackst/ci/.github/workflows/mkdocs_site.yml@main
with:
pages: false
secrets: inherit
site-main:
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
permissions:
contents: write
pages: write
id-token: write
uses: athackst/ci/.github/workflows/mkdocs_site.yml@main
with:
pages: true
secrets: inherit
site-release:
if: ${{ github.event_name == 'release' && github.event.action == 'published' }}
permissions:
contents: write
pages: write
id-token: write
uses: athackst/ci/.github/workflows/mkdocs_site.yml@main
with:
pages: true
secrets: inherit