From d17974f70c4e160a7d22569ad601edb4be323826 Mon Sep 17 00:00:00 2001 From: Jonathan Shimwell Date: Fri, 27 Sep 2024 01:27:13 +0100 Subject: [PATCH] Update documentation_update.yml --- .github/workflows/documentation_update.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/documentation_update.yml b/.github/workflows/documentation_update.yml index cfbf4de7..94835072 100644 --- a/.github/workflows/documentation_update.yml +++ b/.github/workflows/documentation_update.yml @@ -45,13 +45,13 @@ jobs: run: | sphinx-build docs _build/${{ github.ref_name }} rm -rf _build/stable - mkdir _build/stable + mkdir -p _build/stable sphinx-build docs _build/stable - name: Sphinx build dev version if: (github.event_name == 'push' || github.event_name == 'pull_request') && !startsWith(github.ref, 'refs/tags/') run: | rm -rf _build/dev - mkdir _build/dev + mkdir -p _build/dev sphinx-build docs _build/dev - name: Deploy docs to GitHub Pages if: github.event_name == 'push' || startsWith(github.ref, 'refs/tags/')