File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 3131 cwd : " ./test"
3232 compose-files : " compose.yaml compose.prod.yaml"
3333 mode : " staging"
34+ command : " compose up --dry-run"
3435 env :
3536 DEFANG_GH_ACTION_TEST_MESSAGE : ${{ secrets.MESSAGE }}
36- DEFANG_INTERNAL_TEST : dfng-test
3737
3838 - name : Deploy-Empty-Params
3939 uses : ./
4444 cwd : " ./test"
4545 compose-files : " "
4646 mode : " "
47- env :
48- DEFANG_INTERNAL_TEST : dfng-test
47+ command : " compose up --dry-run --project-name github-action-test"
4948
5049 - name : Teardown
5150 run : defang config rm DEFANG_GH_ACTION_TEST_MESSAGE
Original file line number Diff line number Diff line change 9090 params+=("--mode=${{ inputs['mode'] }}")
9191 fi
9292
93- if [[ "${DEFANG_INTERNAL_TEST}" == "dfng-test" ]]; then
94- # `--dry-run` is used for testing as --mode flag is only available to the "compose up" command
95- params+=("--dry-run")
96- fi
97-
9893 echo defang $COMMAND "${params[@]}"
9994 defang $COMMAND "${params[@]}"
10095 env :
You can’t perform that action at this time.
0 commit comments