maxkomarychev/oction-create-deployment
This action implements `POST` request to `/repos/{owner}/{repo}/deployments`
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| token | Token to authenticate the request | yes | — |
| owner | owner parameter | no | — |
| repo | repo parameter | no | — |
| ref | The ref to deploy. This can be a branch, tag, or SHA. | yes | — |
| task | Specifies a task to execute (e.g., `deploy` or `deploy:migrations`). | no | — |
| auto_merge | Attempts to automatically merge the default branch into the requested ref, if it's behind the default branch. | no | — |
| required_contexts | The [status](https://developer.github.com/v3/repos/statuses/) contexts to verify against commit status checks. If you omit this parameter, GitHub verifies all unique contexts before creating a deployment. To bypass checking entirely, pass an empty array. Defaults to all unique contexts. | no | — |
| payload | JSON payload with extra information about the deployment. | no | — |
| environment | Name for the target deployment environment (e.g., `production`, `staging`, `qa`). | no | — |
| description | Short description of the deployment. | no | — |
| transient_environment | Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: `false` **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. | no | — |
| production_environment | Specifies if the given environment is one that end-users directly interact with. Default: `true` when `environment` is `production` and `false` otherwise. **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://developer.github.com/v3/previews/#enhanced-deployments) custom media type. | no | — |
Outputs
no outputs