0
0
mirror of https://github.com/django/django.git synced 2024-11-24 20:07:01 +01:00

Update docs.yml

Use long form options and remove the quiet option, and update outdated OS verison
This commit is contained in:
Paolo Melchiorre 2024-10-31 11:54:54 +01:00
parent 5ed72087c4
commit dcd17e8c1b
No known key found for this signature in database
GPG Key ID: 5F8222398E1ED035

View File

@ -22,7 +22,7 @@ permissions:
jobs:
docs:
# OS must be the same as on djangoproject.com.
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
name: docs
steps:
- name: Checkout
@ -37,7 +37,7 @@ jobs:
- name: Build docs
run: |
cd docs
sphinx-build -b spelling -n -q -W --keep-going -d _build/doctrees -D language=en_US -j auto . _build/spelling
sphinx-build --builder spelling --nitpicky --fail-on-warning --keep-going --doctree-dir _build/doctrees --define language=en_US --jobs auto . _build/spelling
blacken-docs:
runs-on: ubuntu-latest