Skip to content

Update docs.yml with explicit creation of sphinx-log #36

Update docs.yml with explicit creation of sphinx-log

Update docs.yml with explicit creation of sphinx-log #36

Workflow file for this run

name: "Sphinx: Render docs"
on:
workflow_dispatch:
push:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-24.04
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Build HTML
uses: ammaraskar/[email protected]
with:
build-command: "touch /tmp/sphinx-log && sphinx-multiversion source build/html"
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: html-docs
path: docs/build/html/
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build/html/master