From b29626cbe17585c06cf6e577ace915428617f41f Mon Sep 17 00:00:00 2001 From: Nick Vigilante Date: Wed, 12 Aug 2026 21:31:11 +0000 Subject: [PATCH] docs: remove invalid --yes flag from coder template version promote 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/tutorials/testing-templates.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/testing-templates.md b/docs/tutorials/testing-templates.md index 00e5b29e94e37..b18214b1ba02a 100644 --- a/docs/tutorials/testing-templates.md +++ b/docs/tutorials/testing-templates.md @@ -131,5 +131,5 @@ jobs: - name: Promote template version if: success() run: | - coder template version promote --template=$TEMPLATE_NAME --template-version=${{ steps.name.outputs.version_name }} --yes + coder template version promote --template=$TEMPLATE_NAME --template-version=${{ steps.name.outputs.version_name }} ```