docs: note the schedule is off, document tests and rating snapshots #57
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
| # Builds and publishes the site to GitHub Pages on every push to main. | |
| # (Repo Settings → Pages → Source must be set to "GitHub Actions".) | |
| name: Deploy to GitHub Pages | |
| on: | |
| push: | |
| branches: [main] | |
| # docs and pipeline-only changes don't alter the built site — skip the deploy | |
| # (a push deploys unless EVERY changed file matches one of these) | |
| paths-ignore: | |
| - '**.md' | |
| - '.gitignore' | |
| - 'scripts/**' # data pipeline & dev tooling: affects future data runs, not dist | |
| - '.github/workflows/update-data.yml' | |
| - '.github/workflows/ci.yml' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: pages | |
| cancel-in-progress: true | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pages: write | |
| id-token: write | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: '1.3.10' | |
| - run: bun install --frozen-lockfile | |
| - run: bun run build | |
| - uses: actions/configure-pages@v5 | |
| with: | |
| enablement: true # creates/enables the Pages site on first run | |
| - uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: dist | |
| - id: deployment | |
| uses: actions/deploy-pages@v4 |