mirror of
https://github.com/go-shiori/shiori.git
synced 2025-10-09 13:17:28 +08:00
ci: github action to notify releases via irc
This commit is contained in:
parent
3c8a66f8f8
commit
feb150f8c6
1 changed files with 20 additions and 0 deletions
20
.github/workflows/release_notify.yml
vendored
Normal file
20
.github/workflows/release_notify.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
name: Release notifier
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
notify:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Notify IRC
|
||||||
|
uses: Gottox/irc-message-action@v2
|
||||||
|
with:
|
||||||
|
server: "irc.libera.chat"
|
||||||
|
channel: "#shiori"
|
||||||
|
nickname: ShioriBot
|
||||||
|
tls: true
|
||||||
|
sasl_password: ${{ secrets.IRC_SHIORIBOT_PWD }}
|
||||||
|
message: "New release: ${{ github.event.repository.full_name }}@${{ github.event.release.name }}: ${{ github.event.release.html_url }}"
|
Loading…
Add table
Reference in a new issue