File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 env :
3939 GH_USERNAME : ${{ github.actor }}
4040
41- # - name: Pre-fetch the gh-pages branch
42- # run: git fetch --depth=1
43-
4441 - name : Build docs with MkDocs
4542 run : mkdocs build
4643
4946 if : startsWith(github.ref, 'refs/tags/')
5047 run : echo "TAG_NAME=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
5148
49+ # Prefetch gh-pages for mike to get correct versions
50+ - name : Pre-fetch the gh-pages branch
51+ run : git fetch origin gh-pages --depth=1
52+
5253 # This is for a tagged version
53- - name : Create a new version ${{ steps.get_tag_name.outputs.TAG_NAME }} of documentation and push to GH pages.
54+ - name : Create a new version of documentation and push to GH pages.
5455 if : startsWith(github.ref, 'refs/tags/')
5556 run : mike deploy ${{ steps.get_tag_name.outputs.TAG_NAME }} stable --push --update-aliases
5657
You can’t perform that action at this time.
0 commit comments