diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 8c67d4b..523e702 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -35,5 +35,17 @@ jobs: DEFANG_GH_ACTION_TEST_MESSAGE: ${{ secrets.MESSAGE }} DEFANG_INTERNAL_TEST: dfng-test + - name: Deploy-Empty-Params + uses: ./ + continue-on-error: true # Ignore dry run error + with: + cli-version: v0.5.40 + config-env-vars: "" + cwd: "./test" + compose-files: "" + behavior: "" + env: + DEFANG_INTERNAL_TEST: dfng-test + - name: Teardown run: defang config rm DEFANG_GH_ACTION_TEST_MESSAGE diff --git a/action.yaml b/action.yaml index bb013d4..30465e7 100644 --- a/action.yaml +++ b/action.yaml @@ -57,7 +57,7 @@ runs: params+=("-f") params+=("$filename") done - if [[ -n ${{ inputs['behavior'] }} ]]; then + if [[ -n "${{ inputs['behavior'] }}" ]]; then params+=("--behavior=${{ inputs['behavior'] }}") fi