We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8241e6d commit 586bb0eCopy full SHA for 586bb0e
2 files changed
.github/workflows/docs.yaml
@@ -27,8 +27,8 @@ jobs:
27
git config user.email "github-actions[bot]@users.noreply.github.com"
28
29
- name: Deploy version
30
+ env:
31
+ CURRENT_VERSION: ${{ github.ref_name }}
32
run: |
33
# Use the tag name as the version and update 'latest'
- mike deploy --push --update-aliases \
- -D "extra.image_tag=${{ github.ref_name }}" \
34
- ${{ github.ref_name }} latest
+ mike deploy --push --update-aliases ${{ github.ref_name }} latest
mkdocs.yaml
@@ -33,7 +33,7 @@ markdown_extensions:
extra:
version:
35
provider: mike
36
- image_tag: localbuild
+ image_tag: !ENV [CURRENT_VERSION, "localbuild"]
37
38
plugins:
39
- mike
0 commit comments