Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
fix : update docs build update and docs build PR
Browse files Browse the repository at this point in the history
  • Loading branch information
esavary committed Mar 12, 2024
1 parent f8ec76d commit afdd6f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs-build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:
- name: Install dependencies
run: |
pip install --no-cache-dir "setuptools >= 45.0" "setuptools_scm[toml] >= 6.2"
pip install -U build hatch hatchling pip twine docutils
pip install -r docs/requirements.txt
python -m hatch version | tail -n1 | xargs
- name: Build docs
run: |
python -m setuptools_scm # Generate _version.py file
make -C docs/ SPHINXOPTS="-W" BUILDDIR="$HOME/docs" OUTDIR="${CURBRANCH:-html}" html
4 changes: 2 additions & 2 deletions .github/workflows/docs-build-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ jobs:
- name: Install dependencies
run: |
pip install --no-cache-dir "setuptools >= 45.0" "setuptools_scm[toml] >= 6.2"
pip install -U build hatch hatchling pip twine docutils
pip install -r docs/requirements.txt
python -m hatch version | tail -n1 | xargs
- name: Build docs
run: |
python -m setuptools_scm # Generate _version.py file
make -C docs/ SPHINXOPTS="-W" BUILDDIR="$HOME/docs" OUTDIR="${CURBRANCH:-html}" html
- name: Push created tag to gh-pages
Expand Down

0 comments on commit afdd6f8

Please sign in to comment.