Skip to content

Commit

Permalink
reworking docs CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tclose committed Dec 27, 2024
1 parent ee6844a commit 137965b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Revert version to most recent version tag
run: git checkout $(git tag -l | grep 'v.*' | tail -n 1 | awk -F post '{print $1}')
- name: Set up Python
uses: actions/setup-python@v5
with:
Expand All @@ -32,6 +30,8 @@ jobs:
pip install build twine
- name: Install package
run: pip install .[doc]
- name: Revert version to most recent version tag
run: git checkout $(git tag -l | grep 'v.*' | tail -n 1 | awk -F post '{print $1}')
- name: Build docs
run: |
cd docs
Expand Down

0 comments on commit 137965b

Please sign in to comment.