GitHub Actions
MeowPush GitHub Action sends push notifications from workflows for build, test, and deployment results. It supports Linux, Windows, and macOS runners without an additional runtime.
Core Features
- Send a notification by adding a single step to an existing job.
- Customize the title, body, and tap URL to open the current workflow run from the notification.
Configure a Push Key
- Create a separate application for CI in MeowPush Account Management or a MeowPush app that supports applications, and select receiving devices or device groups. See Applications.
- Copy the application's Push Key, which starts with
mpap. - In your GitHub repository, open Settings → Secrets and variables → Actions → New repository secret and save the key as
MEOWPUSH_KEY.
Please store the key in GitHub Secrets. Do not write it directly into a workflow file or commit it to Git.
Quick Start
Add this step at the end of an existing job's steps to send a notification after the preceding steps finish:
yaml
- name: Notify result
if: ${{ always() }}
continue-on-error: true
uses: azurdream/meowpush-gh-actions@v1
with:
key: ${{ secrets.MEOWPUSH_KEY }}
title: GitHub Actions CI Result
body: |
**${{ github.workflow }} has finished**
- Repository: `${{ github.repository }}`
- Branch: `${{ github.ref_name }}`
- Result: **${{ job.status }}**
[View workflow run](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}always() runs the notification step after preceding steps succeed or fail. Use failure() instead to notify only on failure.
To prevent a notification failure from failing the overall job, add continue-on-error: true.
Learn More
See meowpush-gh-actions for more information.
