Skip to content

Commit

Permalink
gci: Fix gh-pages deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
cdecker committed Mar 4, 2024
1 parent 1dbe069 commit bb30643
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/docs-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ jobs:
run: |
(cd libs/gl-client-py; ../../.venv/bin/maturin develop)
- name: Build docs
env:
DOCSBRANCH: "gh-pages"
Expand All @@ -72,3 +71,9 @@ jobs:
run: |
rm libs/gl-client-py/glclient/*.pyi
PATH=$(pwd)/.venv/bin:$PATH make docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./size
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ docs:
mkdir -p ${REPO_ROOT}/site/
(cd docs; mkdocs build --strict --clean --site-dir=${REPO_ROOT}/site/ --verbose)
pdoc -o site/py glclient

docs-publish: docs
ghp-import ${REPO_ROOT}/site \
--no-jekyll \
-m "Deploy docs [skip ci]" \
Expand Down

0 comments on commit bb30643

Please sign in to comment.