Skip to content

Commit 110676e

Browse files
authored
Rename behavior to mode
1 parent 0a4888a commit 110676e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

action.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)