Skip to content

Commit 7790f95

Browse files
authored
Update doc-build.yml (#10620)
After #10596, upload_doc job runs on manual flow, but doesn't do anything. This change is meant to change that.
1 parent b9ebff1 commit 7790f95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/doc-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
110110
# Convert refs/tags/v1.12.0rc3 into 1.12.
111111
# 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
112+
if [[ "${GITHUB_REF}" =~ ^refs/tags/v([0-9]+\.[0-9]+) ]] || [[ "${GITHUB_REF}" == "refs/heads/release/0.6" ]]; then
113113
TARGET_FOLDER="${BASH_REMATCH[1]}"
114114
else
115115
TARGET_FOLDER="main"

0 commit comments

Comments
 (0)