Repository navigation
Docs pushes start flowpipe.io builds with the Turbot Web Builds app - #143
Merged
Merged
Conversation
… previews without a token Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Preview Available 🚀Preview Link: https://flowpipe-io-git-docs-d22-web-builds-app-turbot.vercel.app It can take a few minutes to build. All flowpipe.io previews: https://github.com/turbot/flowpipe.io/deployments/Preview (Turbot people only) |
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 #142
Docs pushes now start flowpipe.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 flowpipe.io's search and previews. The preview link came fromdeploy-details, which needs a Vercel token.What changed
deploy.ymlandtrigger-flowpipe-io.ymlmint a Turbot Web Builds app token forflowpipe.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 flowpipe.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_TOKENandFLOWPIPE_API_KEYafter merging.Proof
build-previewbyworkflow_dispatchwithref_name=d22-web-builds-app(run 44197398156, private site repo). It put agithub-actions[bot]commit ondocs/d22-web-builds-app, Vercel deployed it, and the linkcomment-linkwill post,https://flowpipe-io-git-docs-d22-web-builds-app-turbot.vercel.app, returns 200.comment-link's script, run from the workflow file with stand-in GitHub objects:fix+typogets "No preview",tp_updatesgetsflowpipe-io-git-docs-tpupdates-turbot.vercel.app, and a 38-character name gets only the backup link.Self-review: 0 blocking, 1 tidy — all fixed
🤖 Generated with Claude Code