feat: extract storage-independent dynamic apps core (#288) #9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |