Skip to content

chore: apply CI template update (#972) #47

chore: apply CI template update (#972)

chore: apply CI template update (#972) #47

Workflow file for this run

# This file is generated from athackst/ci/template/.github/workflows/site.yml.jinja.
# Do not edit directly; update the template instead.
name: Site
on:
push:
branches: [main]
release:
types: [published]
concurrency:
group: gh-pages-site
cancel-in-progress: false
jobs:
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
version: dev
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
version: latest
release-tag: ${{ github.event.release.tag_name }}
secrets: inherit