Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
Birmiwal, Rahul R committed Apr 8, 2024
2 parents 14e4cba + 1f4b58e commit 41e72d0
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/update_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs: #define set of jobs. Here there is only one job, each job is instantiated
with:
fetch-depth: 0
# step 2: #syntax for telling GHA to set-up Python on this runner associated for this whole job
- uses: actions/setup-python@v3
- uses: actions/setup-python@v5
with:
python-version: '3.10.13'

# Step 3: define a step that install dependencies (Sphinx etc) for this runner
- name: Install dependencies #name of this step
Expand All @@ -30,7 +32,8 @@ jobs: #define set of jobs. Here there is only one job, each job is instantiated
run: |
cd docs
ls
sphinx-build -M html source build
sphinx-apidoc --no-toc --module-first -o docs/autodoc
sphinx-build source public -b dirhtml
Expand All @@ -45,7 +48,7 @@ jobs: #define set of jobs. Here there is only one job, each job is instantiated
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: build
keep_files: true
publish_dir: public



0 comments on commit 41e72d0

Please sign in to comment.