Skip to content

chore: make parallel feature opt-out instead of opt-in (#76) #4

chore: make parallel feature opt-out instead of opt-in (#76)

chore: make parallel feature opt-out instead of opt-in (#76) #4

Workflow file for this run

name: Docs
on:
push:
branches: [main]
paths:
- 'docs/**'
- 'llms.txt'
- '.github/workflows/docs.yml'
pull_request:
paths:
- 'docs/**'
- 'llms.txt'
- '.github/workflows/docs.yml'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: taiki-e/install-action@v2
with:
tool: mdbook
- name: Build book
run: mdbook build docs
- name: Copy llms.txt to site root
run: cp llms.txt docs/book/llms.txt
- uses: actions/upload-pages-artifact@v3
with:
path: docs/book
deploy:
needs: build
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4