Skip to content

Only redeploy docs when package version changes#141

Merged
hectorhdzg merged 1 commit into
microsoft:mainfrom
rads-1996:update-docs-workflow
May 13, 2026
Merged

Only redeploy docs when package version changes#141
hectorhdzg merged 1 commit into
microsoft:mainfrom
rads-1996:update-docs-workflow

Conversation

@rads-1996
Copy link
Copy Markdown
Member

Add a version check job that compares the version field in package.json between the current and previous commit. Docs are only rebuilt and deployed when the version actually changes, not on every PR merge. Manual workflow_dispatch still triggers a full deploy.

Add a version check job that compares the version field in package.json
between the current and previous commit. Docs are only rebuilt and
deployed when the version actually changes, not on every PR merge.
Manual workflow_dispatch still triggers a full deploy.
Copilot AI review requested due to automatic review settings May 13, 2026 21:56
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the GitHub Pages TypeDoc deployment workflow so documentation is rebuilt/deployed only when the package.json version changes (or when manually triggered), reducing unnecessary doc deployments on merges to main.

Changes:

  • Restricts the workflow trigger on push to only run when package.json changes.
  • Adds a check-version job that compares package.json version against the previous commit and gates the docs build/deploy.
  • Ensures workflow_dispatch continues to force a full docs build/deploy.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@hectorhdzg hectorhdzg merged commit 0f65ad4 into microsoft:main May 13, 2026
9 checks passed
@rads-1996 rads-1996 deleted the update-docs-workflow branch May 14, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants