Update API Documentation #157
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: Update API Documentation | |
| on: | |
| schedule: | |
| # Run nightly at 12 AM PST/1 AM PDT | |
| - cron: "0 8 * * *" | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| # Add future major versions as another ordered job using the same reusable | |
| # workflow, then chain `needs` so each docs update pushes before the next one starts. | |
| v8: | |
| name: Update API Documentation (v8) | |
| uses: ./.github/workflows/docs-run.yml | |
| with: | |
| react-router-major: "8" | |
| v7: | |
| name: Update API Documentation (v7) | |
| needs: v8 | |
| uses: ./.github/workflows/docs-run.yml | |
| with: | |
| react-router-major: "7" |