Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/_build-tutorials-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ on:
required: false
type: number
default: 0
S3_PREFIX:
description: "S3 prefix path for uploading docs preview"
required: false
type: string
default: "pytorch/tutorials"

jobs:
worker:
Expand Down Expand Up @@ -187,7 +192,7 @@ jobs:
s3-bucket: doc-previews
if-no-files-found: error
path: docs
s3-prefix: pytorch/tutorials/${{ github.event.pull_request.number }}
s3-prefix: ${{ inputs.S3_PREFIX }}/${{ github.event.pull_request.number }}

- name: Teardown Linux
uses: pytorch/test-infra/.github/actions/teardown-linux@main
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-tutorials-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@ jobs:
secrets: inherit
with:
USE_NIGHTLY: 1
UPLOAD: 0
UPLOAD: 1
S3_PREFIX: pytorch/tutorials-nightly-preview
Loading