https://github.com/mtchavez/airbrake-deploy
GitHub Action to Create Airbrake Deploys
https://github.com/mtchavez/airbrake-deploy
airbrake airbrake-github-action github-actions
Last synced: 5 months ago
JSON representation
GitHub Action to Create Airbrake Deploys
- Host: GitHub
- URL: https://github.com/mtchavez/airbrake-deploy
- Owner: mtchavez
- Created: 2020-09-03T20:12:28.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-07-04T13:27:38.000Z (about 4 years ago)
- Last Synced: 2025-04-12T18:31:48.776Z (about 1 year ago)
- Topics: airbrake, airbrake-github-action, github-actions
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Airbrake Deploy Github Action
Github action to create Airbrake Deploys for a project
## Inputs
### `project-id`
**Required** Airbrake Project ID.
Can be set up in env `$AIRBRAKE_PROJECT_ID`.
### `project-key`
**Required** Airbrake Project Key.
Can be set up in up in env `$AIRBRAKE_PROJECT_KEY`.
### `environment`
**Required** Airbrake Deploy Environment.
Can be set up in up in env `$AIRBRAKE_ENVIRONMENT`.
Example: `staging`
### `repository`
**Required** Airbrake Project Repository.
Can be set up in up in env `$AIRBRAKE_REPO`.
Example: `https://github.com${{ github.repo }}`.
### `revision`
**Required** Airbrake Deploy Revision.
Can be set up in up in env `$AIRBRAKE_REVISION`.
Example: Set as the commit SHA `${{ github.sha }}`.
### `user`
**Required** Airbrake Deploy User.
Can be set up in up in env `$AIRBRAKE_DEPLOY_USER`.
Example: Set as the committer `${{ github.actor }}`.
## Outputs
### `response`
The API response from Airbrake `{"id": "asdf1234asdf1234"}`
## Example usage
```yaml
uses: mtchavez/airbrake-deploy-github-action@v1
with:
project-id: ${{ env.AIRBRAKE_PROJECT_ID }}
project-key: ${{ secret.AIRBRAKE_PROJECT_KEY }}
environment: ${{ env.AIRBRAKE_ENVIRONMENT }}
repository: https://github.com${{ github.repo }}
revision: ${{ github.sha }}
user: ${{ github.actor }}
```