GitHub Action to create a new deployment on elmah.io.
For the full documentation check out Create deployments from GitHub Actions.
Required An API key with permission to create deployments.
Required The version number of this deployment. The value of version can be a SemVer compliant string or any other syntax that you are using as your version numbering scheme.
Optional description of this deployment. Can be markdown or clear text.
The name of the person responsible for creating this deployment. This can be the name taken from your deployment server.
The email of the person responsible for creating this deployment. This can be the email taken from your deployment server.
As default, deployments are attached all logs of the organization. If you want a deployment to attach to a single log only, set this to the ID of that log.
Minimum example:
uses: elmahio/github-create-deployment-action@v1
with:
apiKey: ${{ secrets.ELMAH_IO_API_KEY }}
version: '1.0.0'
Example with more input and GitHub variables:
uses: elmahio/github-create-deployment-action@v1
with:
apiKey: ${{ secrets.ELMAH_IO_API_KEY }}
description: ${{ github.event.head_commit.message }}
version: ${{ github.run_number }}
userName: ${{ github.actor }}
logId: ${{ secrets.ELMAH_IO_LOG_ID }}