diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 12ca18e162d6..9867f50932b3 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -33,8 +33,9 @@ jobs: pip --version pip install --disable-pip-version-check -r docs/requirements.txt + k0sSortVersion=$(./vars.sh FROM=. k0s_sort_version) mkdir -p build/cache/bin - curl -sSLo build/cache/bin/k0s_sort --retry 5 --retry-all-errors "https://github.com/k0sproject/version/releases/download/$K0S_SORT_VERSION/k0s_sort-linux-amd64" + curl -sSLo build/cache/bin/k0s_sort --retry 5 --retry-all-errors "https://github.com/k0sproject/version/releases/download/$k0sSortVersion/k0s_sort-linux-amd64" chmod +x build/cache/bin/k0s_sort printf '%s\n' "$(realpath build/cache/bin)" >>"$GITHUB_PATH"