Skip to content

Use dashes instead of underscores for docusaurus #20

Use dashes instead of underscores for docusaurus

Use dashes instead of underscores for docusaurus #20

Workflow file for this run

name: Deploy docs
on:
push:
branches: main
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install Nox
run: pip install nox
- name: Generate docs
timeout-minutes: 5
run: nox --session docs -- build
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: web/docusaurus/build
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deploy-pages.outputs.page_url }}
steps:
- id: deploy-pages
uses: actions/deploy-pages@v4