Skip to content

Commit 670e30e

Browse files
pescnclaude
andcommitted
ci: add workflow to notify main repo on docs update
Triggers NexusGate main repo's update-docs-submodule workflow when docs are pushed to main branch. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 3586886 commit 670e30e

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Notify Main Repo
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
notify:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Trigger main repo workflow
12+
uses: peter-evans/repository-dispatch@v3
13+
with:
14+
token: ${{ secrets.MAIN_REPO_PAT }}
15+
repository: EM-GeekLab/NexusGate
16+
event-type: docs-updated
17+
client-payload: '{"message": "Docs updated: ${{ github.event.head_commit.message }}"}'

0 commit comments

Comments
 (0)