Skip to content

Commit 586bb0e

Browse files
🔥 Fixed doc pipeline (#110)
* 🔥 Fixed doc pipeline * Corrected instructions
1 parent 8241e6d commit 586bb0e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/docs.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +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'
32-
mike deploy --push --update-aliases \
33-
-D "extra.image_tag=${{ github.ref_name }}" \
34-
${{ github.ref_name }} latest
34+
mike deploy --push --update-aliases ${{ github.ref_name }} latest

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)