defanglabs/Defang Deployment Action
Use Defang to automatically deploy your application to the cloud.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 10, 2026
- License
- MIT
Pinned Snippet
uses: defanglabs/defang-github-action@310e2861f679b9c2e662fab544ebe3f64d6d5e2b # v2.4.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| cli-version | The version or Git ref of the Defang CLI to use. Defaults to the latest stable release. | no | "" |
| config-env-vars | Environment variables to deploy as config. Format: 'VAR1 VAR2 VAR3' | no | "" |
| config-env-vars-init | Initialize config variables in this list from environment values if they are not already set. Format: 'VAR1 VAR2 VAR3' | no | "" |
| config-vars-init-random | Initialize config variables in this list with random values if they are not already set. Format: 'VAR1 VAR2 VAR3' | no | "" |
| command | The command to run. | no | compose up |
| compose-files | The compose files to deploy. Format 'file1 file2 file3' | no | "" |
| cwd | The directory containing the compose file to deploy. | no | . |
| mode | The deployment mode. Options: 'affordable', 'balanced', 'high-availability'. Deprecated in favor of stack: | no | "" |
| stack | The stack to deploy. | no | "" |
| project | The project to deploy. If not specified, the CLI will determine the project name from the current directory or compose file. | no | "" |
| provider | The cloud provider to deploy to. Options: 'aws', 'azure', 'digitalocean', 'gcp'. If not specified, the CLI will determine the appropriate provider. Deprecated in favor of stack: | no | "" |
| verbose | Enable verbose output for debugging. | no | false |
| allow-upgrade | Allow upgrading the CD image and Pulumi version to the latest available | no | false |
| capture-output | Capture the command's stdout as an output. Disable for large deployments to avoid GitHub Actions memory limits. | no | true |
Outputs
| name | description |
|---|---|
| stdout | The stdout of the command. Only available when capture-output is 'true'. |