Skip to content

Bark Action with custom host

Actions
An action for bark with custom host supported
v1
Latest
Star (0)

Tags

 (1)

Bark Action

Fork from https://github.com/shink/bark-action, add custom host support

An action for Finb/Bark

Chinese document | 中文文档

Usage

name: Bark Action

on: [push]

jobs:
  job:
    name: Push notification job
    runs-on: ubuntu-latest
    steps:
      - name: Push notifications
        uses: daolanfler/bark-action@v1
        with:
          host: ${{ secrets.BARK_HOST}} # If you deploy your own bark or else use default
          key: ${{ secrets.KEY }}   # Your secret key
          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 parameter is required

  • host: bark service host, default is https://api.day.app
  • 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

License

MIT

Bark Action with custom host 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 with custom host supported
v1
Latest

Tags

 (1)

Bark Action with custom host 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.