Point 1-click-deploy badges at Portal deploy flow#656
Merged
lionello merged 1 commit intoJul 23, 2026
Conversation
The 1-click-deploy badges linked to `portal.defang.dev/redirect?url=…github.com/new?template_name=…`, which bounced straight to GitHub's template-creation page and skipped the Defang Portal deploy flow (create project + stack + cloud connection). Repoint every badge at `https://portal.defang.io/sample/<dirname>` — the same deploy flow the sample cards on defang.io use. The slug is the sample's directory name, which is the canonical sample identifier used to build the Portal/docs samples index (`prep-samples.js` keys entries by `directoryName`). - Update the badge URL in all 82 sample READMEs that had one. - Add the badge to the 3 samples that were missing it (crewai, defang-provider-handoff, platformatic). - Update starter-sample/README.md so new samples scaffold the correct link. - Update CLAUDE.md docs (template block + badge note; the note claiming the URL was auto-managed by template-manager.js was stale). Also fixes a stray `<` left in the arduino-wifi badge URL. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017FZuuw58Axb7zWN9Typi22
lionello
had a problem deploying
to
deploy-changed-samples
July 23, 2026 14:09 — with
GitHub Actions
Failure
lionello
marked this pull request as ready for review
July 23, 2026 14:09
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.
The 1-click-deploy badges linked to
portal.defang.dev/redirect?url=…github.com/new?template_name=…, which bounced straight to GitHub's template-creation page and skipped the Defang Portal deploy flow (create project + stack + cloud connection).Repoint every badge at
https://portal.defang.io/sample/<dirname>— the same deploy flow the sample cards on defang.io use. The slug is the sample's directory name, which is the canonical sample identifier used to build the Portal/docs samples index (prep-samples.jskeys entries bydirectoryName).Also fixes a stray
<left in the arduino-wifi badge URL.Claude-Session: https://claude.ai/code/session_017FZuuw58Axb7zWN9Typi22