Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/wheresmyhair/sphinxtest int…
Browse files Browse the repository at this point in the history
…o main
  • Loading branch information
yizhen committed Apr 2, 2024
2 parents 6c3d79f + 77cf7c7 commit bd18c9d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/documentation_deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Docs
on: [push, pull_request, workflow_dispatch]
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: python environment setup
uses: actions/[email protected]
with:
python-version: "3.11"
- name: Install dependencies
run: |
pip install -r ./docs/requirements.txt
- name: Sphinx build
run: |
sphinx-build docs/source _build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: _build/
force_orphan: true

0 comments on commit bd18c9d

Please sign in to comment.