Skip to content

Commit 27f2dc5

Browse files
jebin2claude
andcommitted
feat: accept repository_dispatch so the blog repo can trigger a rebuild
Adds a content-updated dispatch trigger, so publishing a post prerenders it in about a minute instead of waiting for the daily cron. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 6ac7964 commit 27f2dc5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎.github/workflows/sitemap.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
schedule:
88
- cron: '0 3 * * *'
99
workflow_dispatch:
10+
# Sent by the blog repo right after it publishes, so a new post is
11+
# prerendered in about a minute instead of waiting for the daily run.
12+
repository_dispatch:
13+
types: [content-updated]
1014
push:
1115
branches: [main]
1216
paths:

0 commit comments

Comments
 (0)