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
10 changes: 9 additions & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
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.
# site documents the latest *released* library — and also when the docs themselves change on main
# (theme bumps, content edits), since those need no library release to be worth shipping.
on:
release:
types: [published]
push:
branches: [main]
paths:
- "docs/**"
- "pnpm-workspace.yaml"
- ".github/workflows/deploy-docs.yml"
workflow_dispatch:

permissions:
contents: read
Expand Down
Loading