Skip to content

Commit

Permalink
[docs] update mkdoc action
Browse files Browse the repository at this point in the history
  • Loading branch information
wgzhao committed Oct 22, 2021
1 parent b867d0a commit ebcc57a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/mkdoc-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
git config --global user.name Docs deploy
git config --global user.email docs@dummy.bot.com
- name: build docs
run: mike deploy current latest
run: mike deploy develop latest
- name: Create redirect form old docs
run: |
git checkout gh-pages
test -f 404.html && echo "Redirect already set" && exit 0
git checkout master -- docs/404.html
git checkout master -- 404.html
git add 404.html
git commit -m "chore: set docs redirect" --no-verify
git push origin gh-pages -f
2 changes: 1 addition & 1 deletion .github/workflows/mkdoc-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: |
git checkout gh-pages
test -f 404.html && echo "Redirect already set" && exit 0
git checkout master -- docs/404.html
git checkout master -- 404.html
git add 404.html
git commit -m "chore: set docs redirect" --no-verify
git push origin gh-pages -f
File renamed without changes.

0 comments on commit ebcc57a

Please sign in to comment.