ShaunLWM / action-pushbullet

πŸ”” A Github action to push Pushbullet notifications to your devices.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pushbullet Notifications for GitHub Actions

screenshot

This action allows you to send yourself a push notification via Pushbullet.

Usage

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."
  }
}

YML

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.

Secrets

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

Environment Variables

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.

License

GNU GENERAL PUBLIC LICENSE v3 2019

About

πŸ”” A Github action to push Pushbullet notifications to your devices.

License:GNU General Public License v3.0


Languages

Language:Dockerfile 62.8%Language:Shell 37.2%