This action create a new deployment. We build this one for Jira integration.
https://docs.github.com/fr/rest/deployments/deployments?apiVersion=2022-11-28
Required github token that can create deployment. Test it before.
Required The ref to deploy. This can be a branch, tag, or SHA.
Name for the target deployment environment, which can be changed when setting a deploy status. For example, production, staging, or qa, etc...
Attempts to automatically merge the default branch into the requested ref, if it's behind the default branch.
Short description of the deployment.
Required Specifies if the given environment is one that end-users directly interact with. Default: true when environment is production and false otherwise. Default "false".
Can be one of: error, failure, inactive, in_progress, queued, pending, success
Id of deployment
uses: lagrowthmachine/deployment-builder-action-public@v1.2
with:
token: 'xxxxx'
ref: 'master'
auto_merge: false
environment: 'production'
description: 'A short description there'