Receive push notifications on your iOS device via this GitHub action to notify you of the progress of your builds. This runs sequentially, as a result, place the below code anywhere in your workflow where you'd like to get notified of an particular event. A popular example of this would be to place the code below at the end of your Workflow file do you can get notified upon build completion. You can also use this to get notified of any errors in your build throughout your workflow (which will require you to place this code more than once around the workflow).
You will need our app installed on the deivce you want to receive notifications on.
- iOS: Can be found here
- Android: Currently in development
To run this action you'll need:
- An API token from the app.
- An USERID key, also from the app.
- Inside one of your GitHub projects in an existing workflow create an event.
- Name and bring in the action code into your worflow file (.yml file):
- name: Cloud Notify push notification
uses: nathan1258/cloudNotify-action@master
- Add a new secret
CLOUD_NOTIFY_API_TOKEN
andCLOUD_NOTIFY_USERID_KEY
(both found in the app) inside your repo's settings. - Commit your update .yml file.
name: Notify on every commit
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Cloud Notify push notification
uses: nathan1258/cloudNotify-action@master
env:
TOKEN: ${{ secrets.CLOUD_NOTIFY_API_TOKEN }}
USERID: ${{ secrets.CLOUD_NOTIFY_USERID_KEY }}
TITLE: "New GitHub commit on ${{ github.repository }} 🎉"
MESSAGE: "There is a new commit!"
LINK: "https://ellisn.com/"
Or, simply use this section of code anywhere in the workflow file to update you on particular steps.
The code below was pasted at the bottom of a workflow file to notify me when the build completes
- name: Build finished notification
uses: nathan1258/cloudNotify-action@master
env:
TOKEN: ${{ secrets.CLOUD_NOTIFY_API_TOKEN }}
USERID: ${{ secrets.CLOUD_NOTIFY_USERID_KEY }}
TITLE: "BUILD HAS FINISHED 🎉"
MESSAGE: "THE BUILD HAS FINISHED"
Support, Bugs and Ideas can be requested here.