Skip to content

site: req/s units on every per-vCPU figure #77

site: req/s units on every per-vCPU figure

site: req/s units on every per-vCPU figure #77

Workflow file for this run

name: Deploy docs site to Pages
# Builds the Astro/Starlight site in site/ and deploys it to GitHub Pages (getbusbar.com).
# Only runs when the site or the docs it pulls from change — code commits don't trigger it.
on:
push:
branches: [main]
paths:
- 'site/**'
- 'docs/**'
- 'CHANGELOG.md'
- '.github/workflows/pages.yml'
workflow_dispatch:
schedule:
- cron: '17 6 * * *' # daily rebake: star count and other build-time data stay fresh
# for browsers whose shields block the client-side update
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deploy; don't cancel an in-progress one.
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: site
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v6
with:
node-version: 22
cache: npm
cache-dependency-path: site/package-lock.json
- run: npm ci
- run: npm run build # runs sync-docs (../docs -> content) then astro build
env:
# Lifts the star-count fetch in the landing page off the 60/hr unauthenticated limit
# (shared runner IP) so the deployed baseline count is always populated.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-pages-artifact@v5
with:
path: site/dist
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v5