Skip to content

Commit 0d27338

Browse files
committed
🔥 Fixed doc pipeline
1 parent 8241e6d commit 0d27338

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/docs.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
git config user.email "github-actions[bot]@users.noreply.github.com"
2828
2929
- name: Deploy version
30+
env:
31+
CURRENT_VERSION: ${{ github.ref_name }}
3032
run: |
3133
# Use the tag name as the version and update 'latest'
3234
mike deploy --push --update-aliases \

mkdocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ markdown_extensions:
3333
extra:
3434
version:
3535
provider: mike
36-
image_tag: localbuild
36+
image_tag: !ENV [CURRENT_VERSION, "localbuild"]
3737

3838
plugins:
3939
- mike

0 commit comments

Comments
 (0)