Here at Honeybadger, we are big fans of GitHub Actions' workflow automation and CI/CD features. We like it so much that we decided to add two of our own contributions to the community!
Now you can trace stacks at light speed by uploading your source maps to Honeybadger directly from GitHub using your original, un-minified Javascript code.
Example:
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: honeybadger-io/github-upload-sourcemap-action@master
with:
api_key: ${{ secrets.HONEYBADGER_API_KEY }}
minified_url: https://example.com/assets/application.min.js
minified_file: path/to/application.min.js
source_map: path/to/application.js.map
See our sourcemap action here.
Are you ready for more? You can also send deployment notifications to Honeybadger within GitHub. Next time you notice a spike in errors you can associate them to any changes that were deployed.
Example:
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: honeybadger-io/github-notify-deploy-action@v1
with:
api_key: ${{ secrets.HONEYBADGER_API_KEY }}
Check out our notify deploy action here.
We are excited to see what else is released in the coming months as GitHub Actions continues to evolve.