summaryrefslogtreecommitdiffstats
path: root/.github/workflows/doc.yml
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2019-12-16 18:35:22 (GMT)
committerGitHub <noreply@github.com>2019-12-16 18:35:22 (GMT)
commita76ba362c4d86adf5e7f8254398135d12d7afd25 (patch)
tree58c79d5a633c6bc039d80ad8cce5b0b522f16ed2 /.github/workflows/doc.yml
parent814d687c7df3e0c60036943b68ece13f9f19dfef (diff)
downloadcpython-a76ba362c4d86adf5e7f8254398135d12d7afd25.zip
cpython-a76ba362c4d86adf5e7f8254398135d12d7afd25.tar.gz
cpython-a76ba362c4d86adf5e7f8254398135d12d7afd25.tar.bz2
bpo-39041: Add GitHub Actions support (GH-17594)
Diffstat (limited to '.github/workflows/doc.yml')
-rw-r--r--.github/workflows/doc.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml
new file mode 100644
index 0000000..405b12e
--- /dev/null
+++ b/.github/workflows/doc.yml
@@ -0,0 +1,40 @@
+name: Docs
+
+on:
+ #push:
+ # branches:
+ # - master
+ # - 3.8
+ # - 3.7
+ # paths:
+ # - 'Doc/**'
+ pull_request:
+ branches:
+ - master
+ - 3.8
+ - 3.7
+ paths:
+ - 'Doc/**'
+ - 'Misc/**'
+
+jobs:
+ build_doc:
+ name: 'Docs'
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v1
+ - uses: actions/setup-python@v1
+ with:
+ python-version: '3.7'
+ architecture: 'x64'
+ - name: 'Install build dependencies'
+ run: python -m pip install sphinx==2.2.0 blurb python-docs-theme
+ - name: 'Build documentation'
+ run: |
+ cd Doc
+ make check suspicious html PYTHON=python
+ - name: Upload
+ uses: actions/upload-artifact@v1
+ with:
+ name: doc-html
+ path: Doc/build/html