File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ inputs:
2222 description : " The compose files to deploy. Format 'file1 file2 file3'"
2323 required : false
2424 default : " "
25- behavior :
26- description : " The behavior of the deployment. Options: 'development', 'staging', 'production'"
25+ mode :
26+ description : " The deployment mode . Options: 'development', 'staging', 'production'"
2727 required : false
2828 default : " development"
2929
@@ -68,12 +68,12 @@ runs:
6868 params+=("-f")
6969 params+=("$filename")
7070 done
71- if [[ -n "${{ inputs['behavior '] }}" ]]; then
72- params+=("--behavior =${{ inputs['behavior '] }}")
71+ if [[ -n "${{ inputs['mode '] }}" ]]; then
72+ params+=("--mode =${{ inputs['mode '] }}")
7373 fi
7474
7575 if [[ "${DEFANG_INTERNAL_TEST}" == "dfng-test" ]]; then
76- # `defang compose up --dry-run` is used for testing as --behavior flag is only available to the "compose up" command
76+ # `defang compose up --dry-run` is used for testing as --mode flag is only available to the "compose up" command
7777 echo defang compose "${params[@]}" up --dry-run
7878 defang compose "${params[@]}" up --dry-run
7979 else
You can’t perform that action at this time.
0 commit comments