Skip to content

Commit e7ac2b3

Browse files
committed
Try to fix docs checkout
1 parent a27c6e7 commit e7ac2b3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/publish-site.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@ jobs:
1717
pages: write
1818
id-token: write
1919
steps:
20+
- uses: actions/checkout@v4
21+
# Avoid issues with depending on a particular version of this
22+
# package from another package.
23+
# We need our tags in order to calculate the version.
24+
# See https://github.com/astral-sh/uv/issues/8148.
25+
with:
26+
fetch-depth: 0
27+
fetch-tags: true
28+
2029
- id: deployment
2130
uses: sphinx-notes/pages@v3
2231
with:
@@ -25,3 +34,4 @@ jobs:
2534
python_version: '3.13'
2635
sphinx_build_options: -W
2736
publish: ${{ github.ref_name == 'main' }}
37+
checkout: false

0 commit comments

Comments
 (0)