From 20299846654d8dfa5d13ee28a8fc1696b33660f3 Mon Sep 17 00:00:00 2001 From: Alice Date: Tue, 13 Jan 2026 16:52:50 +0100 Subject: [PATCH] typo in workflow --- .github/workflows/build_documentation.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_documentation.yml b/.github/workflows/build_documentation.yml index 5cc6d6ffb..fc826800f 100644 --- a/.github/workflows/build_documentation.yml +++ b/.github/workflows/build_documentation.yml @@ -74,12 +74,11 @@ jobs: # Update main index if this is a release - name: Update version index + if: github.event_name == 'release' run: | - if [ "${{ github.event_name }}" == "release" ]; then - cd gh-pages - python docs/main_index/render_main_index.py \ - --version "${{ steps.version.outputs.version }}" \ - --date "$(date +'%d.%m.%Y')" + python docs/main_index/render_main_index.py \ + --version "${{ steps.version.outputs.version }}" \ + --date "$(date +'%d.%m.%Y')" - name: Checkout gh-pages uses: actions/checkout@v4