Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit fd6bdb5

Browse files
committed
Adding doc uild
1 parent 6627534 commit fd6bdb5

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/build-docs.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ on:
1414

1515
jobs:
1616
build:
17-
strategy:
18-
matrix:
19-
python_version: ["3.8"]
20-
fail-fast: false
2117
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
2218
with:
2319
job-name: Build doc
@@ -26,13 +22,12 @@ jobs:
2622
gpu-arch-type: cpu
2723
timeout: 120
2824
upload-artifact: docs
29-
3025
script: |
3126
# Mark Build Directory Safe
3227
git config --global --add safe.directory /__w/text/text
3328
3429
# Set up Environment Variables
35-
export PYTHON_VERSION="${{ matrix.python_version }}"
30+
export PYTHON_VERSION="3.8"
3631
3732
# Set CHANNEL
3833
if [[(${GITHUB_EVENT_NAME} = 'pull_request' && (${GITHUB_BASE_REF} = 'release'*)) || (${GITHUB_REF} = 'refs/heads/release'*) ]]; then
@@ -65,8 +60,6 @@ jobs:
6560
conda install --quiet -y -c conda-forge pandoc doxygen pysoundfile
6661
pip install --quiet -r docs/requirements.txt
6762
68-
69-
7063
# Build docs
7164
export BUILD_GALLERY=true
7265
(cd docs && make 'SPHINXOPTS=-W' html)

0 commit comments

Comments
 (0)