Commit b936b68
committed
Add weekly scheduled workflow to rebuild docs site
The docs site embeds content from external repositories (e.g. the
getting-started page is embedded from CAPI). This embedded content
only updates when Netlify rebuilds the site, which only happens on
push to main. If no PRs are merged for a while, the embedded content
becomes stale.
Add a weekly scheduled GitHub Actions workflow that triggers a Netlify
build via a build hook. This ensures the docs site always has the
latest content from embedded external sources.
Maintainers need to:
1. Create a build hook in Netlify (Site settings > Build & deploy >
Build hooks)
2. Add the hook URL as a GitHub Actions secret named NETLIFY_BUILD_HOOK
Signed-off-by: Dong Ma <winterma.dong@gmail.com>1 parent ea8f397 commit b936b68
1 file changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
0 commit comments