-
First create the Pushover Application and get the API Token and User Key.
-
Create the GitHub Action by adding the following to your
.github/workflows/buildspec.yml
.
name: Build
on:
# It triggers the workflow when executing the push or pull request operation, but only for the master branch.
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
...
- name: Push Build Status Notifications
if: ${{ always() }}
uses: desiderati/github-action-pushover@v1
with:
job-status: ${{ job.status }}
pushover-api-token: ${{ secrets.PUSHOVER_API_TOKEN }}
pushover-user-key: ${{ secrets.PUSHOVER_USER_KEY }}
-
Add the Pushover API Token as
PUSHOVER_API_TOKEN
and user key asPUSHOVER_USER_KEY
in GitHub Repository > Settings > Secrets. -
Validate if you received the notification.
For transparency into our release cycle and in striving to maintain backward compatibility, GitHub Action for Pushover Notifications is maintained under the Semantic Versioning guidelines and the release process is predictable and business-friendly.
See the Releases section of our GitHub project for change logs for each release version of GitHub Action for Pushover Notifications. It contains summaries of the most noteworthy changes made in each release.
If you have any suggestions, bug reports, or annoyances please report them to our issue tracker at https://github.com/desiderati/github-action-pushover/issues
Copyright (c) 2019 - Felipe Desiderati - Released under MIT License.