Skip to content

docs: note on extending the duration of a site #329

docs: note on extending the duration of a site

docs: note on extending the duration of a site #329

Workflow file for this run

name: Build and deploy GitHub Pages preview for PRs
on:
pull_request:
types:
- opened
- reopened
- synchronize
- closed
paths:
- "book.toml"
- "docs/**"
- ".github/actions/build-mdbook/action.yaml"
- ".github/workflows/pages-preview.yaml"
concurrency: preview-${{ github.ref }}
permissions:
contents: write
pull-requests: write
jobs:
build-with-linkcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/build-mdbook
if: github.event.action != 'closed'
preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/build-mdbook
with:
with_linkcheck: "false"
if: github.event.action != 'closed'
- name: Deploy preview
uses: rossjrw/[email protected]
with:
source-dir: build/html