Skip to content

Bark Actions

Actions
An action for bark
V3.0
Latest
Star (0)

Bark Action

中文文档GitHub Marketplace

Forked from shink/bark-action, add supports for more args in Bark

A GitHub Action that pushes notifications via Finb/Bark.

Usage

name: 'Push Notifications via Bark'

on: [ push ]

jobs:
  notify:
    name: Notify
    runs-on: ubuntu-latest
    steps:
      - name: Push notification
        uses: Crownor/[email protected]
        with:
          key: ${{ secrets.KEY }}       # Your secret key, it is required
          host: ${{ secrets.HOST }}     # Your Bark host, the default is 'https://api.day.app'
          title: Message title
          body: Message body
          sound: alarm
          isArchive: 1
          url: https://yuanhaoji.com
          automaticallyCopy: 1
          copy: Content copied to clipboard

Among them, only the key field is required.

  • host: Custom Bark server hostname
  • title: Message title (a bit thicker than the content font size)
  • body: Message content
  • sound: Push notification sound
  • isArchive: Whether to save to the historical record (1 means save)
  • url: The address that will be redirected to the url (when sending, URL parameters need to be encoded)
  • automaticallyCopy: When this parameter is carried, the content will be automatically copied to the clipboard
  • copy: When carrying this parameter, only the value of this parameter will be copied
  • group: Specify the group of push messages. Push messages can be viewed by group in the history.
  • icon: Specify push message icon
  • level: Set timely notifications

For more information, please check out Finb/Bark.

License

MIT

Bark Actions is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

An action for bark
V3.0
Latest

Bark Actions is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.