Skip to content

Commit f807536

Browse files
committed
[publish][docs]
1 parent 004456a commit f807536

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/docs.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Deploy Docs
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
deploy-docs:
10+
if: contains(github.event.head_commit.message, '[docs]')
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: actions/setup-python@v4
15+
with:
16+
python-version: '3.x'
17+
- run: pip install -r docs/requirements.txt ghp-import
18+
- run: make -C docs html
19+
- run: ghp-import -p -f -n docs/_build/html

0 commit comments

Comments
 (0)