From b01379cf6d29ed89386e550c96ce66c74f90b30a Mon Sep 17 00:00:00 2001 From: theOehrly <23384863+theOehrly@users.noreply.github.com> Date: Sat, 11 May 2024 23:02:30 +0200 Subject: [PATCH] CI: always build docs from scratch --- .github/workflows/docs.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 65537a8f5..a847993a5 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -69,7 +69,9 @@ jobs: - name: Build docs run: | mkdir test_cache # not really need but pytest setup relies on it - sphinx-build ./docs ./docs/_build/html -a -E -W -n --keep-going + cd ./docs + make clean + make html - name: Publish docs if: (github.event_name == 'release') || inputs.publish