Files
userstyles/.github/workflows/docs.yml
T
84c0edf1ce docs: add starlight (#1859)
Co-authored-by: uncenter <[email protected]>
Co-authored-by: Hammy <[email protected]>
Co-authored-by: WalkQuackBack <[email protected]>
2025-08-31 19:02:22 -04:00

36 lines
669 B
YAML

name: Deploy Docs to GH Pages
on:
push:
branches: [main]
paths:
- 'docs/**'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Build & Upload Site
uses: withastro/action@v4
with:
path: ./docs
package-manager: [email protected]
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4