gigalixir/Gigalixir Deploy
Deploy your application to Gigalixir
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Mar 31, 2026
- License
- MIT
Pinned Snippet
uses: gigalixir/gigalixir-action@7c4c09ec2c3562eded85b711fd735eb34f8001e9 # v0.6.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| gigalixir_email | Your Gigalixir account email | no | "" |
| gigalixir_api_key | Your Gigalixir API key | no | "" |
| app_name | The name of your Gigalixir app | no | "" |
| action | Action to perform: deploy, create, destroy, create_deploy, or scale | no | deploy |
| git_ref | The git ref to deploy (commit SHA, branch, or tag) | no | "" |
| cloud | Cloud provider for new apps (gcp or aws) | no | "" |
| region | Region for new apps (e.g., us-east-1, us-central1) | no | "" |
| stack | Stack for new apps (e.g., gigalixir-20) | no | "" |
| database_size | Database size to create (free, 0.6, 1.7, 4, 8, 16, 32, 48, 64, 96). Use "free" for free tier. | no | "" |
| database_version | PostgreSQL major version (e.g., 16, 15, 14) | no | "" |
| copy_config_from | App name to copy environment config from (useful for preview environments) | no | "" |
| github_deployments | Create GitHub Deployment records for tracking. Requires repo write access. Not available for private repos on GitHub Free plan. | no | false |
| github_environment | GitHub Environment name for deployment tracking (e.g., production, staging, pr-123). Only used when github_deployments is true. | no | "" |
| app_subfolder | Subfolder containing the app to deploy (for monorepo/subtree deployments). When set, uses git subtree push instead of git push. | no | "" |
| clean_build_cache | Clear the build cache on Gigalixir before building. Useful when builds are broken due to stale cache. | no | false |
| deploy_timeout | Max seconds to wait for deployment rollout to complete. Set to 0 to skip verification. | no | 0 |
| replicas | Number of replicas to run (used with action: create, create_deploy, or scale) | no | "" |
| size | Size of each replica between 0.5 and 128 (used with action: create, create_deploy, or scale) | no | "" |
| GIGALIXIR_USERNAME | Deprecated: use gigalixir_email instead | no | "" |
| GIGALIXIR_PASSWORD | Deprecated: use gigalixir_api_key instead | no | "" |
| GIGALIXIR_APP | Deprecated: use app_name instead | no | "" |
| GIGALIXIR_CLEAN | Deprecated: use clean_build_cache instead | no | "" |
| MIGRATIONS | Not supported in v1. Use @v0 for SSH-based migration support. | no | "" |
| SSH_PRIVATE_KEY | Not supported in v1. Use @v0 for SSH-based migration support. | no | "" |
| configs | Config variables to set before deploy, as multiline KEY=VALUE pairs | no | "" |
Outputs
| name | description |
|---|---|
| deploy_status | Status of the action (success or failure) |
| app_name | The name of the Gigalixir app |
| app_url | The URL of the deployed app |
| database_url | The DATABASE_URL if a database was created |