ci/dev: Add direct links to changed pages in Vercel previews - #1874
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
marcleblanc2
marked this pull request as ready for review
September 8, 2026 01:38
pjlast
approved these changes
Sep 11, 2026
pjlast
left a comment
Contributor
There was a problem hiding this comment.
Yep this is just really nice. Thanks!
marcleblanc2
enabled auto-merge (squash)
September 11, 2026 01:02
marcleblanc2
force-pushed
the
ci/preview-links-for-changed-pages
branch
from
September 11, 2026 01:02
d407d17 to
26b483c
Compare
marcleblanc2
disabled auto-merge
September 11, 2026 01:03
marcleblanc2
added a commit
that referenced
this pull request
Sep 11, 2026
Fixes `Foe example` → `For example` on the Kubernetes troubleshooting page. Also serves as the live test target for #1874: that workflow was dispatched by hand against this PR's preview deployment, and the "Preview links for changed pages" comment below is its output. ## Amp threads - [Address PR 1874 feedback](https://ampcode.com/threads/T-01a08573-3d6c-7491-ac34-61b4800612a8) Co-authored-by: Amp <amp@ampcode.com>
marcleblanc2
enabled auto-merge (squash)
September 11, 2026 01:09
Vercel's bot comment only links to the root of the preview deployment. This workflow runs on Vercel's vercel.deployment.success repository_dispatch event, finds the PR for the deployed commit, and posts (or updates) a comment with direct links to each changed docs/*.mdx page on the preview URL. Amp-Thread-ID: https://ampcode.com/threads/T-01a07e6e-2b53-73cb-be1c-faaf2308d033 Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-01a07e6e-2b53-73cb-be1c-faaf2308d033 Co-authored-by: Amp <amp@ampcode.com>
…ing before merge GitHub only delivers repository_dispatch to the workflow file on the default branch, so the workflow could not be exercised from this PR. workflow_dispatch takes the same two payload fields (url, sha) as inputs so the same script can be run against a real PR before merging, and re-run by hand later. Amp-Thread-ID: https://ampcode.com/threads/T-01a08573-3d6c-7491-ac34-61b4800612a8 Co-authored-by: Amp <amp@ampcode.com>
…before merge) Amp-Thread-ID: https://ampcode.com/threads/T-01a08573-3d6c-7491-ac34-61b4800612a8 Co-authored-by: Amp <amp@ampcode.com>
…(revert before merge)" This reverts commit 31e4893.
Co-authored-by: Amp <amp@ampcode.com> Amp-Thread-ID: https://ampcode.com/threads/T-01a07e6e-2b53-73cb-be1c-faaf2308d033
marcleblanc2
force-pushed
the
ci/preview-links-for-changed-pages
branch
from
September 11, 2026 01:09
26b483c to
c83a341
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Solution
Decisions made, and can be changed
docs/pages get no commentAmp threads