Skip to content

Commit

Permalink
fix: sphinx.yml
Browse files Browse the repository at this point in the history
manual use of yml file. found fix for crash here peaceiris/actions-gh-pages#537
  • Loading branch information
HiIAmTzeKean authored Aug 14, 2024
1 parent 77348cd commit ce230d3
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,22 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Build and deploy Python Sphinx documentation.
uses: peterhs73/[email protected]

- name: Checkout repository content
uses: actions/checkout@v4 # Checkout the repository content to github runner.
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: 3.12
docs-source: docs/source/
docs-build: docs/build/html/
pyproject-path: .
external-repo: HiIAmTzeKean/Streamsight
deploy-token: ${{secrets.GITHUB_TOKEN}}
- name: Install dependencies
run: python -m pip install .
shell: bash
- name: Build sphinx
run: sphinx-build -b html docs/source/ docs/build/html/
shell: bash
- name: Deploy to external repos
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{secrets.GITHUB_TOKEN}}
external_repository: HiIAmTzeKean/Streamsight
publish_branch: master
publish_dir: docs/build/html/

0 comments on commit ce230d3

Please sign in to comment.