From bcca10906d45736edfd591cdfdc3e6dd59bf9094 Mon Sep 17 00:00:00 2001 From: rettigl Date: Thu, 24 Oct 2024 21:45:10 +0200 Subject: [PATCH] add script for updating switcher.json --- .github/workflows/documentation.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 06558221..0ce4f59f 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -115,6 +115,11 @@ jobs: echo "folder=sed/develop" >> $GITHUB_OUTPUT fi + - name: Update switcher.json + run: | + echo "poetry run python docs-repo/sed/update_switcher.py docs-repo/sed/switcher.json $GITHUB_REF" + poetry run python docs-repo/sed/update_switcher.py docs-repo/sed/switcher.json $GITHUB_REF + - name: Copy documentation to the right version folder run: | mkdir -p docs-repo/${{ steps.version-folder.outputs.folder }}