Skip to content

Commit bf0cc0c

Browse files
authored
Update website using most recent deployment only (#18)
1 parent ec78d7f commit bf0cc0c

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,20 @@ jobs:
2121
steps:
2222
- name: Checkout repository
2323
uses: actions/checkout@v4
24+
with:
25+
fetch-depth: 0
26+
27+
- name: Fetch latest tag
28+
id: latest_tag
29+
run: |
30+
git fetch --tags
31+
tag=$(git describe --tags `git rev-list --tags --max-count=1`)
32+
echo "Latest tag: $tag"
33+
echo "tag=$tag" >> $GITHUB_OUTPUT
34+
35+
- name: Checkout latest tag
36+
run: |
37+
git checkout ${{ steps.latest_tag.outputs.tag }}
2438
2539
- name: Set up Python
2640
uses: actions/setup-python@v5
@@ -29,7 +43,7 @@ jobs:
2943

3044
- name: Install uv
3145
run: |
32-
curl -LsSf https://astral.sh/uv/0.9.7/install.sh | sh
46+
curl -LsSf https://astral.sh/uv/0.9.10/install.sh | sh
3347
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
3448
3549
- name: Install Python dependencies

0 commit comments

Comments
 (0)