Skip to content

Commit f0308df

Browse files
authored
Merge pull request #2 from release-engineering/docs
Add workflow to build GH pages
2 parents 43bf4dd + 22b9751 commit f0308df

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/docs.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Publish docs
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch: {}
8+
9+
jobs:
10+
docs:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Setup Python
15+
uses: actions/setup-python@v2
16+
with:
17+
python-version: 3.9
18+
- name: Install OS packages
19+
run: |
20+
sudo apt-get -y update
21+
sudo apt-get install -y libkrb5-dev
22+
- name: Install Tox
23+
run: pip install tox 'virtualenv<20.21.1'
24+
- name: Run Tox
25+
run: tox -e docs
26+
- name: Publish
27+
uses: JamesIves/[email protected]
28+
with:
29+
branch: gh-pages
30+
folder: docs/_build/html

0 commit comments

Comments
 (0)