Fixed template promote bug
Test and Publish Coder Template / Test & Publish Template (push) Successful in 27s

This commit is contained in:
2026-07-11 17:06:35 +02:00 Verified
parent 452543a431
commit 1360d62117
+2 -3
View File
@@ -28,7 +28,7 @@ jobs:
coder_session_token: ${{ secrets.CODER_SESSION_TOKEN }} coder_session_token: ${{ secrets.CODER_SESSION_TOKEN }}
- name: Initialize and Validate Terraform - name: Initialize and Validate Terraform
# Coder's example skips 'init', but it's usually safer to include it # Coder's example skips 'init', but it's usually safer to include it
# before validation depending on your provider configurations. # before validation depending on your provider configurations.
run: | run: |
terraform init terraform init
@@ -66,5 +66,4 @@ jobs:
run: | run: |
coder template version promote \ coder template version promote \
--template=$TEMPLATE_NAME \ --template=$TEMPLATE_NAME \
--template-version=${{ steps.vars.outputs.version_name }} \ --template-version=${{ steps.vars.outputs.version_name }}
--yes