Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

elmahio/github-create-deployment-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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:

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 }}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.