File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,10 @@ inputs:
2626 description : " The deployment mode. Options: 'development', 'staging', 'production'"
2727 required : false
2828 default : " "
29+ provider :
30+ description : " The cloud provider to deploy to. Options: 'aws', 'defang'"
31+ required : false
32+ default : " defang"
2933
3034runs :
3135 using : " composite"
@@ -75,10 +79,10 @@ runs:
7579
7680 if [[ "${DEFANG_INTERNAL_TEST}" == "dfng-test" ]]; then
7781 # `defang compose up --dry-run` is used for testing as --mode flag is only available to the "compose up" command
78- echo defang compose "${params[@]}" up --dry-run
79- defang compose "${params[@]}" up --dry-run
82+ echo defang --provider=${{ inputs['provider'] }} compose "${params[@]}" up --dry-run
83+ defang --provider=${{ inputs['provider'] }} compose "${params[@]}" up --dry-run
8084 else
81- echo defang compose "${params[@]}" up
82- defang compose "${params[@]}" up
85+ echo defang --provider=${{ inputs['provider'] }} compose "${params[@]}" up
86+ defang --provider=${{ inputs['provider'] }} compose "${params[@]}" up
8387 fi
8488 working-directory : ${{ inputs.cwd }}
You can’t perform that action at this time.
0 commit comments