Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/elmahio/github-create-deployment-action

GitHub Action to create a new deployment on elmah.io
https://github.com/elmahio/github-create-deployment-action

actions deployment deployment-tools deployment-tracker elmah-io error-monitoring github-action github-actions

Last synced: about 2 months ago
JSON representation

GitHub Action to create a new deployment on elmah.io

Awesome Lists containing this project

README

        

# elmah.io Create Deployment Action

GitHub Action to create a new deployment on elmah.io.

For the full documentation check out [Create deployments from GitHub Actions](https://docs.elmah.io/create-deployments-from-github-actions/).

## Inputs

## `apiKey`

**Required** An API key with permission to create deployments.

## `version`

**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.

## `description`

Optional description of this deployment. Can be markdown or clear text.

## `userName`

The name of the person responsible for creating this deployment. This can be the name taken from your deployment server.

## `userEmail`

The email of the person responsible for creating this deployment. This can be the email taken from your deployment server.

## `logId`

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.

## Example usage

Minimum example:

```yml
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:

```yml
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 }}
```