Skip to content

Commit 85b43ae

Browse files
chore: generate artifacts for the docs build in the CI
When building the docs store the created documentation as an artifact so that it can be viewed. This will create a html-docs.zip file which can be downloaded containing the contents of the `build/sphinx/html/` directory. It can be downloaded, extracted, and then viewed. This can be useful in reviewing changes to the documentation. See https://github.com/actions/upload-artifact for more information on how this works.
1 parent 83dcabf commit 85b43ae

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/docs.yml

+5
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ jobs:
3333
env:
3434
TOXENV: docs
3535
run: tox
36+
- name: Archive generated docs
37+
uses: actions/upload-artifact@v2
38+
with:
39+
name: html-docs
40+
path: build/sphinx/html/
3641

3742
twine-check:
3843
runs-on: ubuntu-20.04

0 commit comments

Comments
 (0)