File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 - name : Checkout repo (full history)
1616 uses : actions/checkout@v4
1717 with :
18- fetch-depth : 0 # IMPORTANT for tags + mike
18+ fetch-depth : 0
1919
2020 - name : Set up Python
2121 uses : actions/setup-python@v5
@@ -25,11 +25,10 @@ jobs:
2525 - name : Install dependencies
2626 run : |
2727 pip install mkdocs-material mike
28- pip install . # optional: if your docs import your package
28+ pip install . # optional if docs import your package
2929
3030 - name : Deploy docs
3131 working-directory : docs/
3232 run : |
33- VERSION=${GITHUB_EVENT_RELEASE_TAG_NAME#v}
34- ALIAS=latest
35- mike deploy --push --update-aliases --update-aliases ${{ steps.vars.outputs.version }} latest
33+ mike deploy "${{ github.event.release.tag_name }}" latest --push --update-aliases
34+ mike set-default --push latest
You can’t perform that action at this time.
0 commit comments