Skip to content

Docs overhaul, un-deprecate createNamespace, generateObject examples … #12

Docs overhaul, un-deprecate createNamespace, generateObject examples …

Docs overhaul, un-deprecate createNamespace, generateObject examples … #12

Workflow file for this run

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