From e6446cc474ce03fe54689f3c44489373489713e9 Mon Sep 17 00:00:00 2001 From: Sam Chau Date: Sun, 22 Dec 2024 19:14:08 +1030 Subject: [PATCH] feat: add GitHub Actions workflow for notifying groups on push to 1080p-Encode branch --- .github/workflows/notify-groups.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/notify-groups.yml diff --git a/.github/workflows/notify-groups.yml b/.github/workflows/notify-groups.yml new file mode 100644 index 0000000..ba81c66 --- /dev/null +++ b/.github/workflows/notify-groups.yml @@ -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 }}"}'