From 8d4b7e1ef912b55baac89cc2fdfbcd6ee7a27d3d Mon Sep 17 00:00:00 2001 From: Subhaditya Mukherjee <26865436+SubhadityaMukherjee@users.noreply.github.com> Date: Thu, 19 Jun 2025 16:02:47 +0200 Subject: [PATCH] Update docs.yaml --- .github/workflows/docs.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 906f6340b..865514490 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -23,8 +23,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - with: - fetch-depth: 0 - name: Setup Python uses: actions/setup-python@v5 with: @@ -45,6 +43,7 @@ jobs: # mkdocs gh-deploy --force git config user.name doc-bot git config user.email doc-bot@openml.com + git fetch --tags current_version=$(git tag | sort --version-sort | tail -n 1) # This block will rename previous retitled versions retitled_versions=$(mike list -j | jq ".[] | select(.title != .version) | .version" | tr -d '"') @@ -60,4 +59,4 @@ jobs: --update-aliases \ "${current_version}" \ "latest"\ - -b $PAGES_BRANCH origin/$PAGES_BRANCH + -b $PAGES_BRANCH