Skip to content

Commit

Permalink
no module name google in cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
Lin-jun-xiang committed Sep 21, 2023
1 parent 105c7ee commit 63acd4f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,18 @@ jobs:
- uses: actions/setup-python@v3
- name: Install dependencies
run: |
pip install sphinx sphinx_rtd_theme
poetry install
- name: Sphinx build
run: |
cd docs
make clean
make html
- name: Deploy to Github Pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }} # the default token which no need create
publish_dir: docs/build/html # the path of doc
publish_dir: docs/build/html # A source directory to deploy to GitHub Pages (the path of doc)
force_orphan: true
4 changes: 3 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html
import os
import sys
from pathlib import Path

sys.path.insert(0, os.path.abspath('../..'))
sys.path.insert(0, os.path.abspath('../..//pyga4'))
sys.path.insert(0, os.path.abspath('../../pyga4'))

# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
Expand Down

0 comments on commit 63acd4f

Please sign in to comment.