Skip to content

Commit 22c1bb4

Browse files
committed
docs: fix mike docs deployment
1 parent ee686d4 commit 22c1bb4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/docs-develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ jobs:
3636
- name: Install Dependencies
3737
run: pip install mkdocs-material mike
3838
- name: Build and Deploy Docs
39-
run: mike deploy develop && git checkout gh-pages && git pull origin gh-pages && git push --set-upstream origin gh-pages
39+
run: mike deploy develop && git checkout gh-pages && git pull --rebase origin gh-pages && git push --set-upstream origin gh-pages

.github/workflows/docs-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ jobs:
2929
- name: Install Dependencies
3030
run: pip install mkdocs-material mike
3131
- name: Build and Deploy Docs
32-
run: mike deploy --update-aliases ${{ github.event.release.tag_name }} latest && git checkout gh-pages && git pull origin gh-pages && git push --set-upstream origin gh-pages
32+
run: mike deploy --update-aliases ${{ github.event.release.tag_name }} latest && git checkout gh-pages && git pull --rebase origin gh-pages && git push --set-upstream origin gh-pages

0 commit comments

Comments
 (0)