| repo | A custom repository to create the deployment for. Defaults to the repo the action is running in. | no | — |
| owner | A custom owner to create the deployment for. Defaults to the repo owner the action is running in. | no | — |
| initial-status | Initial status for the deployment. Can be one of: error, failure, inactive, in_progress, queued, pending, success | no | pending |
| token | Github repository token | yes | — |
| log-url | Log URL location | no | — |
| description | Descriptive message about the deployment | no | — |
| environment | The name of the environment for the deployment | no | production |
| environment-url | A URL to access your deployment | no | — |
| auto-merge | Whether to attempt to auto-merge the default branch into the branch that the action is running on if set to "true". More details in the GitHub deployments API. Warning - setting this to "true" has caused this action to fail in some cases | no | false |
| ref | The reference for the deployment | no | — |
| sha | The commit SHA for the deployment | no | — |
| task | The name of the task for the deployment (e.g., deploy or deploy:migrations). More details in the GitHub deployments API. | no | deploy |
| required-contexts | If provided, must be formatted as a comma-separated string. The status 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. Can be provided as a JSON string. | no | — |
| transient-environment | Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. | no | false |
| production-environment | Specifies if the given environment is one that end-users directly interact with. Default: true when environment is production and false otherwise. | no | — |
| auto-inactive | Adds a new inactive status to all prior non-transient, non-production environment deployments with the same repository and environment name as the created status's deployment. An inactive status is only added to deployments that had a success state. Default: true | no | true |
| github-base-url | Changes the API base URL for a GitHub Enterprise server. | no | — |