Skip to content

Commit b9ebff1

Browse files
authored
Update doc-build.yml (#10596)
Add ability to build docs with manual workflow
1 parent eaca6bc commit b9ebff1

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
@@ -89,7 +89,7 @@ jobs:
8989
9090
upload-gh-pages:
9191
needs: build
92-
if: github.repository == 'pytorch/executorch' && github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
92+
if: github.repository == 'pytorch/executorch' && ((github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))) || (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/release/0.6'))
9393
permissions:
9494
id-token: write
9595
contents: write

0 commit comments

Comments
 (0)