File tree 3 files changed +1
-12
lines changed
3 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ Update coder templates automatically
23
23
| ** ` dir` ** | ** Required** The directory of the template that contains ` main.tf` file | - |
24
24
| ` name` | New version name for the template. | Autogenerated name by Coder |
25
25
| ` activate` | Activate the new template version. | ` true` |
26
- | ` create` | Creates a new template if it does not exist | ` true` |
27
26
| ` message` | Update message (similar to commit messages) | - |
28
27
| ` dry_run` | Dry run mode. | ` false` |
29
28
Original file line number Diff line number Diff line change 1
1
name : Update Coder Template
2
2
description : An action to deploy changes to your coder template automatically
3
- author :
" Muhammad Atif Ali <[email protected] >"
3
+ author :
" Muhammad Atif Ali <[email protected] >"
4
4
5
5
branding :
6
6
icon : arrow-up-circle
@@ -30,10 +30,6 @@ inputs:
30
30
description : " update message"
31
31
required : false
32
32
default : " Updated via update-coder-template action"
33
- create :
34
- description : " Creates a new template if it does not exist"
35
- required : false
36
- default : " true"
37
33
dry_run :
38
34
description : " Dry run"
39
35
required : false
57
53
CODER_TEMPLATE_VERSION_NAME : ${{ inputs.name }}
58
54
CODER_TEMPLATE_ACTIVATE : ${{ inputs.activate }}
59
55
CODER_TEMPLATE_MESSAGE : ${{ inputs.message }}
60
- CODER_TEMPLATE_CREATE : ${{ inputs.create }}
61
56
CODER_TEMPLATE_DRY_RUN : ${{ inputs.dry_run }}
Original file line number Diff line number Diff line change @@ -19,11 +19,6 @@ if [ -n "${CODER_TEMPLATE_MESSAGE}" ]; then
19
19
push_command+=" --message \" ${CODER_TEMPLATE_MESSAGE} \" "
20
20
fi
21
21
22
- # Append --create flag to the push command if CODER_TEMPLATE_CREATE is true
23
- if [ " ${CODER_TEMPLATE_CREATE} " = " true" ]; then
24
- push_command+=" --create"
25
- fi
26
-
27
22
# Add version to the push command if specified
28
23
if [ -n " ${CODER_TEMPLATE_VERSION_NAME} " ]; then
29
24
push_command+=" --name ${CODER_TEMPLATE_VERSION_NAME} "
You can’t perform that action at this time.
0 commit comments