python3-anticaptcha/.github/workflows/sphinx.yml

33 lines
663 B
YAML
Raw Normal View History

2023-03-16 22:16:55 +00:00
name: Sphinx docs
2022-12-14 16:04:39 +00:00
on:
push:
branches: [ "release" ]
paths:
- '.github/workflows/sphinx.yml'
- 'src/**'
- 'docs/**'
- 'files/**'
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
2023-03-16 22:16:55 +00:00
- name: Build docs requirements
run: pip install -r docs/requirements.txt
2022-12-14 16:04:39 +00:00
- name: Build docs
2022-12-14 16:38:41 +00:00
run: make doc
2022-12-14 16:04:39 +00:00
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html/
force_orphan: true