Skip to content

docs: migrate to Astro/Starlight and document the new options #1

docs: migrate to Astro/Starlight and document the new options

docs: migrate to Astro/Starlight and document the new options #1

Workflow file for this run

name: Deploy docs
on:
push:
branches: [main]
paths:
- "docs-site/**"
- ".github/workflows/docs.yml"
workflow_dispatch:
# Allow one concurrent deployment, and let a newer push supersede a queued one.
concurrency:
group: pages
cancel-in-progress: false
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
cache-dependency-path: docs-site/package-lock.json
- name: Install dependencies
run: npm ci
working-directory: docs-site
- name: Build site
run: npm run build
working-directory: docs-site
- uses: actions/upload-pages-artifact@v3
with:
path: docs-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@v4