Commit 550e6dcb authored by moto's avatar moto Committed by Facebook GitHub Bot
Browse files

[DOC/CI] Store doc as tar archive (#2448)

Summary:
At the time of release, we need to download doc built by CI.
CircleCI does not have feature to download multiple files.

This commit add the archive of built documentations as
CI artifact so that the whole documentation can be downloaded
at once.

Resolves https://github.com/pytorch/audio/issues/2340

Pull Request resolved: https://github.com/pytorch/audio/pull/2448

Reviewed By: hwangjeff

Differential Revision: D36942077

Pulled By: mthrok

fbshipit-source-id: 61dde0d71841434a3d0624404d99911aa6956f88
parent d2d8b670
...@@ -827,6 +827,9 @@ jobs: ...@@ -827,6 +827,9 @@ jobs:
source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION} source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
cd docs cd docs
make 'SPHINXOPTS=-W' html make 'SPHINXOPTS=-W' html
cd build
tar -czf artifact.tar.gz html
mv artifact.tar.gz html
environment: environment:
BUILD_GALLERY: 1 BUILD_GALLERY: 1
no_output_timeout: 30m no_output_timeout: 30m
......
...@@ -827,6 +827,9 @@ jobs: ...@@ -827,6 +827,9 @@ jobs:
source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION} source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
cd docs cd docs
make 'SPHINXOPTS=-W' html make 'SPHINXOPTS=-W' html
cd build
tar -czf artifact.tar.gz html
mv artifact.tar.gz html
environment: environment:
BUILD_GALLERY: 1 BUILD_GALLERY: 1
no_output_timeout: 30m no_output_timeout: 30m
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment