feat: add GitHub Actions workflow for notifying groups on push to 1080p-Encode branch

This commit is contained in:
Sam Chau
2024-12-22 19:14:08 +10:30
parent e8ecf5e0dc
commit e6446cc474

18
.github/workflows/notify-groups.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
name: Notify Groups
on:
push:
branches:
- 1080p-Encode
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
repository: Dictionarry-Hub/groups
event-type: database-updated
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'