File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Sync docs
2+
3+ # Docs live here; rivet.dev publishes them. On merge to main this copies the
4+ # docs/ bundle into the website's vendor/agentos and opens a PR there, which is
5+ # also what triggers the site rebuild.
6+ #
7+ # examples/ travels with the bundle because agentOS docs embed snippets from it
8+ # by repo-root-relative path, and Dynamic Apps docs resolve their snippets here
9+ # too via snippetFrom in the website's product-metadata.ts.
10+ on :
11+ push :
12+ branches : [main]
13+ paths : ["docs/**", "examples/**"]
14+ workflow_dispatch :
15+
16+ jobs :
17+ sync :
18+ runs-on : ubuntu-latest
19+ steps :
20+ - uses : actions/checkout@v4
21+ - uses : rivet-dev/website/.github/actions/sync-docs@main
22+ with :
23+ product : agentos
24+ token : ${{ secrets.RIVET_WEBSITE_TOKEN }}
25+ extra-paths : examples
You can’t perform that action at this time.
0 commit comments