Repository navigation
Docs pushes start powerpipe.io builds with the Turbot Web Builds app - #84
Merged
Merged
Conversation
…k previews without a token Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Preview Available 🚀Preview Link: https://powerpipe-io-git-docs-d22-web-builds-app-turbot.vercel.app It can take a few minutes to build. All powerpipe.io previews: https://github.com/turbot/powerpipe.io/deployments/Preview (Turbot people only) |
…efuses Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Fixes #83
Docs pushes now start powerpipe.io's builds with the Turbot Web Builds app, not the dead personal token. Docs PRs get their preview link with no Vercel token.
What was wrong
Both workflows dispatched with
G_PERSONAL_ACCESS_TOKEN, which answersBad credentials, so docs changes stopped updating powerpipe.io's search and previews. The preview link came fromdeploy-details, which needs a Vercel token.What changed
deploy.ymlandtrigger-powerpipe-io.ymlmint a Turbot Web Builds app token forpowerpipe.io. With it they runupdate-search-records.ymlandbuild-preview.ymlthere bygh workflow run, passingref_namethroughenv:.comment-linkworks out the Vercel branch URL and adds a backup link to powerpipe.io's Preview deployments. It skips fork PRs, posts "No preview" for a name the site refuses, and keeps the name out of script text.Still open
G_PERSONAL_ACCESS_TOKENandPOWERPIPE_API_KEYafter merging.Proof
build-previewbyworkflow_dispatchwithref_name=d22-web-builds-app(run 44178619247 in the private site repo). That run createddocs/d22-web-builds-app; its old deploy-webhook step then failed, as expected until turbot/powerpipe.io#332.comment-link's script, run from the workflow file with stand-in GitHub objects:fix+typogets "No preview",tp_updatesgetspowerpipe-io-git-docs-tpupdates-turbot.vercel.app, and a 38-character name gets only the backup link. On this PR,comment-linkpostedpowerpipe-io-git-docs-d22-web-builds-app-turbot.vercel.app, which has no preview behind it until turbot/powerpipe.io#332 lands.Self-review: 2 blocking, 1 tidy — all fixed
🤖 Generated with Claude Code