Skip to content

Commit 137965b

Browse files
committed
reworking docs CI
1 parent ee6844a commit 137965b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- uses: actions/checkout@v4
23-
- name: Revert version to most recent version tag
24-
run: git checkout $(git tag -l | grep 'v.*' | tail -n 1 | awk -F post '{print $1}')
2523
- name: Set up Python
2624
uses: actions/setup-python@v5
2725
with:
@@ -32,6 +30,8 @@ jobs:
3230
pip install build twine
3331
- name: Install package
3432
run: pip install .[doc]
33+
- name: Revert version to most recent version tag
34+
run: git checkout $(git tag -l | grep 'v.*' | tail -n 1 | awk -F post '{print $1}')
3535
- name: Build docs
3636
run: |
3737
cd docs

0 commit comments

Comments
 (0)