Fixed template promote bug
Test and Publish Coder Template / Test & Publish Template (push) Successful in 27s
Test and Publish Coder Template / Test & Publish Template (push) Successful in 27s
This commit is contained in:
@@ -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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user