We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9ebff1 commit 7790f95Copy full SHA for 7790f95
.github/workflows/doc-build.yml
@@ -109,7 +109,7 @@ jobs:
109
110
# Convert refs/tags/v1.12.0rc3 into 1.12.
111
# Adopted from https://github.com/pytorch/pytorch/blob/main/.github/workflows/_docs.yml#L150C11-L155C13
112
- if [[ "${GITHUB_REF}" =~ ^refs/tags/v([0-9]+\.[0-9]+) ]]; then
+ if [[ "${GITHUB_REF}" =~ ^refs/tags/v([0-9]+\.[0-9]+) ]] || [[ "${GITHUB_REF}" == "refs/heads/release/0.6" ]]; then
113
TARGET_FOLDER="${BASH_REMATCH[1]}"
114
else
115
TARGET_FOLDER="main"
0 commit comments