-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
manual use of yml file. found fix for crash here peaceiris/actions-gh-pages#537
- Loading branch information
1 parent
77348cd
commit ce230d3
Showing
1 changed file
with
17 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/ |