This action allows you to send yourself a push notification via Pushbullet.
To use the action simply add the following lines to your .github/main.workflow
and provide the required Secrets and Environment variables.
action "Build Completion" {
uses = "ShaunLWM/action-pushbullet@master"
secrets = ["PB_TOKEN"]
env = {
PB_TITLE = "Build Complete"
PB_TEXT = "Your project has been built."
}
}
name: Pushbullet Notification
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Pushbullet Notification
uses: ShaunLWM/action-pushbullet@master
env:
PB_TOKEN: ${{ secrets.PB_TOKEN }}
PB_TITLE: Build Complete
PB_TEXT: Your project has been built.
You'll need to provide these secrets to use the action. Enter these secrets in your Settings > Secrets
- PB_TOKEN: Get your access token here
You'll need to provide these environment variables to specify exactly what information to send to your device.
- PB_TITLE: The title of the notification.
- PB_TEXT: The body of the notification.
GNU GENERAL PUBLIC LICENSE v3 2019