Skip to content

docs: serve the social card as the Open Graph image #33

docs: serve the social card as the Open Graph image

docs: serve the social card as the Open Graph image #33

Workflow file for this run

name: Pages
# The documentation website under docs/ is what this repository serves from
# GitHub Pages. A pull request renders it as a check, from its own head, unless
# it is still a draft. Publishing happens at a release, through the Release
# workflow, or on a manual dispatch here.
on:
pull_request:
# The reusable workflow skips a draft, and the default activity types fire
# nothing when a pull request leaves draft, so `ready_for_review` is what
# runs the render once the draft is lifted.
types: [opened, synchronize, reopened, ready_for_review]
paths:
- "docs/**"
- "_extensions/**"
- "CHANGELOG.md"
- ".github/workflows/pages.yml"
workflow_dispatch:
inputs:
use-main-as-release:
type: boolean
description: "Render from the default branch instead of the latest version tag"
default: false
quarto:
type: choice
description: "Quarto version"
default: "release"
options:
- "release"
- "pre-release"
permissions:
contents: read
jobs:
pages:
uses: mcanouil/quarto-workflows/.github/workflows/pages.yml@v2
permissions:
contents: read
pages: write
id-token: write
with:
use-main-as-release: ${{ inputs.use-main-as-release || false }}
quarto: ${{ inputs.quarto || 'release' }}