docs: enable retro dispatch build (#19016)

This commit is contained in:
Jirka Borovec 2023-11-16 12:14:42 -05:00 committed by GitHub
parent ca7368c5e1
commit beca90933c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -26,6 +26,11 @@ on:
- "!**/*.md"
workflow_dispatch:
inputs:
checkout:
description: "checkout specific git state"
type: string
required: false
default: ""
version:
description: "specify a version / tag to be uploaded"
type: string
@ -60,6 +65,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.checkout }}
# only Pytorch has/uses notebooks
submodules: ${{ matrix.pkg-name == 'pytorch' }}
- uses: actions/setup-python@v4