Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
name: Deploy Documentation

# Publish docs when a version is released (changesets creates a GitHub Release on publish), so the
# site documents the latest *released* library rather than every commit on main.
on:
workflow_run:
workflows: ["CI"]
types:
- completed
branches:
- main
workflow_dispatch:
release:
types: [published]

permissions:
contents: read
pages: write
id-token: write

concurrency:
# A version bump can publish several Releases at once (monorepo); collapse that burst of events
# for the same commit into a single Pages deploy — the latest run cancels earlier ones.
group: pages
cancel-in-progress: false
cancel-in-progress: true

env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
Expand All @@ -25,7 +24,6 @@ jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 15
if: ${{ github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
Expand Down
Loading