Skip to content

Commit

Permalink
added shell
Browse files Browse the repository at this point in the history
  • Loading branch information
shimwell committed Jan 5, 2025
1 parent d621add commit f61d3a7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/documentation_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,20 @@ jobs:

- name: install dependencies
shell: bash -el {0}
run: |
python -m pip install .[docs]
run: python -m pip install .[docs]

- name: Sphinx build tagged version
if: startsWith(github.ref, 'refs/tags/')
shell: bash -el {0}
run: |
sphinx-build docs _build/${{ github.ref_name }}
rm -rf _build/stable
mkdir -p _build/stable
sphinx-build linkcheck docs _build/stable
- name: Sphinx build dev version
if: (github.event_name == 'push' || github.event_name == 'pull_request') && !startsWith(github.ref, 'refs/tags/')
shell: bash -el {0}
run: |
rm -rf _build/dev
mkdir -p _build/dev
Expand Down

0 comments on commit f61d3a7

Please sign in to comment.