From 8a2d199c240457811aa25a49260a36b514cc0cc5 Mon Sep 17 00:00:00 2001 From: Nathan Flurry Date: Sun, 8 Nov 2026 01:15:55 -0800 Subject: [PATCH] docs: publish docs with the website's sync-repo script instead of a CI sync --- .github/workflows/docs-sync.yml | 24 ------------------------ AGENTS.md | 1 + CLAUDE.md | 3 +++ 3 files changed, 4 insertions(+), 24 deletions(-) delete mode 100644 .github/workflows/docs-sync.yml create mode 120000 AGENTS.md create mode 100644 CLAUDE.md diff --git a/.github/workflows/docs-sync.yml b/.github/workflows/docs-sync.yml deleted file mode 100644 index 328255a..0000000 --- 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/workflows and opens a PR there, which is -# also what triggers the site rebuild. -# -# examples/ travels with the bundle because Workflows 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: workflows - token: ${{ secrets.RIVET_WEBSITE_TOKEN }} - extra-paths: examples diff --git a/AGENTS.md b/AGENTS.md new file mode 120000 index 0000000..681311e --- /dev/null +++ b/AGENTS.md @@ -0,0 +1 @@ +CLAUDE.md \ No newline at end of file diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..8ac1cc0 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,3 @@ +# Project references + +- 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`.