We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19b41c7 commit e24a766Copy full SHA for e24a766
.github/workflows/docs.yaml
@@ -24,6 +24,7 @@ jobs:
24
with:
25
runner: linux.4xlarge.nvidia.gpu
26
repository: pytorch/audio
27
+ upload-artifact: docs
28
gpu-arch-type: cuda
29
gpu-arch-version: ${{ matrix.cuda-version }}
30
timeout: 120
@@ -75,6 +76,10 @@ jobs:
75
76
echo "::endgroup::"
77
78
echo "::group::Copy artifacts"
- cp -rf docs/build/html/* "${RUNNER_DOCS_DIR}"
79
- mv docs/build/html /artifacts/
+ 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
85
0 commit comments