docs: remove invalid --yes flag from coder template version promote - #28084
Draft
nickvigilante wants to merge 1 commit into
Draft
docs: remove invalid --yes flag from coder template version promote#28084nickvigilante wants to merge 1 commit into
--yes flag from coder template version promote#28084nickvigilante wants to merge 1 commit into
Conversation
The CI/CD example ran the promote subcommand with --yes, but that flag does not exist and the command exits with 'unknown flag: --yes', breaking the documented GitHub Actions workflow. Confirmed against docs/reference/cli/templates_versions_promote.md (generated). Fixes DOCS-640. > This PR was created with AI assistance (Coder Agents).
Docs previewCheck off each page once it's been reviewed. If a page changes in a later push, its checkbox clears automatically so it gets a fresh look. Pages not yet wired into the docs navigation aren't listed here. |
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.
What
Remove the invalid
--yesflag from thecoder template version promotecommand in the CI/CD publishing example.Why
docs/tutorials/testing-templates.mddocuments, in the GitHub Actions "Promote template version" step:The
promotesubcommand has no--yes/confirmation flag, so the command exits withunknown flag: --yesand breaks the documented CI workflow. This is a golden-path (automation) breaker.Verified against the generated reference
docs/reference/cli/templates_versions_promote.md(flags are only--template,--template-version,-O/--org), and reproduced against a live deployment during the runtime drift sweep. The command is non-interactive, so no confirmation flag is needed.Change
Single line: drop
--yes.Linear: DOCS-640