mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-01-16 22:43:18 +01:00
Store Documentation Builts as GitHub Actions Artifacts (#3468)
This commit is contained in:
parent
2797d9d305
commit
f9cbddd10a
1 changed files with 11 additions and 0 deletions
11
.github/workflows/docs.yml
vendored
11
.github/workflows/docs.yml
vendored
|
@ -32,3 +32,14 @@ jobs:
|
|||
python -W ignore -m pip install -r requirements-all.txt
|
||||
- name: Build docs
|
||||
run: sphinx-build docs/source docs/build/html -W --keep-going -j auto
|
||||
- name: Upload docs
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: HTML Docs
|
||||
retention-days: 7
|
||||
path: |
|
||||
# Exclude the .doctrees folder and .buildinfo file from the artifact
|
||||
# since they are not needed and add to the size
|
||||
docs/build/html/*
|
||||
!docs/build/html/.doctrees
|
||||
!docs/build/html/.buildinfo
|
||||
|
|
Loading…
Reference in a new issue