Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,30 @@ 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
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
default: "defang"
command:
description: "The command to run."
required: false
default: "compose up"
verbose:
description: "Enable verbose output for debugging."
required: false
Expand All @@ -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
Expand Down