diff --git a/.github/workflows/docs-sync.yml b/.github/workflows/docs-sync.yml deleted file mode 100644 index fdc96b164..000000000 --- a/.github/workflows/docs-sync.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: Sync docs - -# Docs live here; rivet.dev publishes them. On merge to main this copies the -# docs/ bundle into the website's vendor/dynamic-apps and opens a PR there, which is -# also what triggers the site rebuild. -# -# examples/ travels with the bundle because Dynamic Apps docs embed snippets -# from this repository by repo-root-relative path. -on: - push: - branches: [main] - paths: ["docs/**", "examples/**", ".github/workflows/docs-sync.yml"] - workflow_dispatch: - -jobs: - sync: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: rivet-dev/website/.github/actions/sync-docs@main - with: - product: dynamic-apps - token: ${{ secrets.RIVET_WEBSITE_TOKEN }} - extra-paths: examples diff --git a/AGENTS.md b/AGENTS.md index 65a9138c1..9df579bd5 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -4,3 +4,4 @@ - App-defined RivetKit actors are a required Dynamic Apps capability. Preserve and verify actor deployment, state, actions, events, callbacks, and direct HTTP serving end to end whenever the serving runtime changes. +- After merging changes to `docs/` or `examples/` into `main`, publish them to rivet.dev by following `SYNCING_PRODUCT_DOCS.md` in a checkout of `rivet-dev/website`. diff --git a/CLAUDE.md b/CLAUDE.md new file mode 120000 index 000000000..47dc3e3d8 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1 @@ +AGENTS.md \ No newline at end of file