Skip to content

Commit e24a766

Browse files
author
pytorchbot
committed
2025-10-14 nightly release (1b013f5)
1 parent 19b41c7 commit e24a766

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/docs.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
with:
2525
runner: linux.4xlarge.nvidia.gpu
2626
repository: pytorch/audio
27+
upload-artifact: docs
2728
gpu-arch-type: cuda
2829
gpu-arch-version: ${{ matrix.cuda-version }}
2930
timeout: 120
@@ -75,6 +76,10 @@ jobs:
7576
echo "::endgroup::"
7677
7778
echo "::group::Copy artifacts"
78-
cp -rf docs/build/html/* "${RUNNER_DOCS_DIR}"
79-
mv docs/build/html /artifacts/
79+
cp -r docs/build/html "${RUNNER_ARTIFACT_DIR}"
80+
81+
# On PRs we also want to upload the docs into our S3 bucket for preview.
82+
if [[ ${{ github.event_name == 'pull_request' }} ]]; then
83+
cp -r docs/build/html/* "${RUNNER_DOCS_DIR}"
84+
fi
8085
echo "::endgroup::"

0 commit comments

Comments
 (0)