From 87e4d5f1c4afd9f0ca026781653afb94e9831ca7 Mon Sep 17 00:00:00 2001 From: Jordan Stephens Date: Tue, 6 Jan 2026 17:38:27 -0800 Subject: [PATCH 1/2] sort inputs --- action.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/action.yaml b/action.yaml index f0884b7..f09556d 100644 --- a/action.yaml +++ b/action.yaml @@ -14,14 +14,18 @@ inputs: description: "Environment variables deploy as config. Format: 'VAR1 VAR2 VAR3'" required: false default: "" - cwd: - description: "The directory containing the compose file to deploy." + command: + description: "The command to run." required: false - default: "." + default: "compose up" compose-files: description: "The compose files to deploy. Format 'file1 file2 file3'" required: false default: "" + cwd: + description: "The directory containing the compose file to deploy." + required: false + default: "." mode: description: "The deployment mode. Options: 'development', 'staging', 'production'" required: false @@ -30,10 +34,6 @@ inputs: description: "The cloud provider to deploy to. Options: 'aws', 'defang', 'digitalocean', 'gcp'" required: false default: "defang" - command: - description: "The command to run." - required: false - default: "compose up" verbose: description: "Enable verbose output for debugging." required: false From abcb30f94e057ab6335a8017bdc61a1dd2667754 Mon Sep 17 00:00:00 2001 From: Jordan Stephens Date: Tue, 6 Jan 2026 17:45:23 -0800 Subject: [PATCH 2/2] add stack input --- action.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/action.yaml b/action.yaml index f09556d..72ab5f0 100644 --- a/action.yaml +++ b/action.yaml @@ -30,6 +30,10 @@ inputs: description: "The deployment mode. Options: 'development', 'staging', 'production'" required: false default: "" + stack: + description: "The stack to deploy." + required: false + default: "" provider: description: "The cloud provider to deploy to. Options: 'aws', 'defang', 'digitalocean', 'gcp'" required: false @@ -54,6 +58,7 @@ runs: run: | echo "DEFANG_PROVIDER=${{ inputs['provider'] }}" >> $GITHUB_ENV [ -n "$RUNNER_DEBUG" ] && echo "DEFANG_DEBUG=$RUNNER_DEBUG" >> $GITHUB_ENV || true + [ -n "${{ inputs['stack'] }}" ] && echo "DEFANG_STACK=${{ inputs['stack'] }}" >> $GITHUB_ENV || true - name: Login to Defang shell: bash