Skip to content

Commit af37b70

Browse files
committed
Push updates to the Bukkit API repo
1 parent a547538 commit af37b70

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Dispatch to repo
2+
on:
3+
push:
4+
branches:
5+
- main
6+
workflow_dispatch:
7+
jobs:
8+
dispatch:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
include:
13+
- repo: CheatBreakerNet/Bukkit-API
14+
branch: main
15+
steps:
16+
- name: Push to repo
17+
uses: peter-evans/repository-dispatch@v3
18+
with:
19+
token: ${{ secrets.PAT }}
20+
repository: ${{ matrix.repo }}
21+
event-type: update
22+
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "module": "NetHandler", "branch": "${{ matrix.branch }}"}'

0 commit comments

Comments
 (0)