Skip to content

Commit

Permalink
Comment the set-default in deploy (#2315)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisChen2023 authored Oct 25, 2023
1 parent c15d95b commit f88fdfa
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy-en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ jobs:
git fetch origin gh-pages --depth=1 # fix mike's CI update
mike list
mike deploy ${{ env.ACTIONTEST }} -p --rebase
mike set-default ${{ env.ACTIONTEST }} -p --rebase
mike list
# The set-default command is only applicable to the latest version and must be commented in older versions.
# mike set-default ${{ env.ACTIONTEST }} -p --rebase
# mike list

# - name: Deploy
# uses: peaceiris/actions-gh-pages@v3
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/deploy-zh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ jobs:
git fetch origin gh-pages-zh --depth=1 # fix mike's CI update
mike list
mike deploy ${{ env.ACTIONTEST }} -b gh-pages-zh -p --rebase
mike set-default ${{ env.ACTIONTEST }} -b gh-pages-zh -p --rebase
mike list
# The set-default command is only applicable to the latest version and must be commented in older versions.
# mike set-default ${{ env.ACTIONTEST }} -b gh-pages-zh -p --rebase
# mike list

- name: show Chinese git branches
run: |
Expand Down
6 changes: 3 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ site_url: https://docs.nebula-graph.io/
docs_dir: docs-2.0-en
copyright: Copyright © 2023 NebulaGraph
# Modify this line in each version upgrade release
edit_uri: 'https://github.com/vesoft-inc/nebula-docs/edit/v3.6.0/docs-2.0-en/'
edit_uri: 'https://github.com/vesoft-inc/nebula-docs/edit/master/docs-2.0-en/'
# en.end

# zh.begin
site_name: NebulaGraph Database 手册
site_url: https://docs.nebula-graph.com.cn/
docs_dir: docs-2.0-zh
# Modify this line in each version upgrade release
edit_uri: 'https://github.com/vesoft-inc/nebula-docs/edit/v3.6.0/docs-2.0-zh/'
edit_uri: 'https://github.com/vesoft-inc/nebula-docs/edit/master/docs-2.0-zh/'
copyright: Copyright © 2023 NebulaGraph - 浙ICP备20010487号
# zh.end

Expand Down Expand Up @@ -88,7 +88,7 @@ plugins:
# image lightbox plugin(https://github.com/blueswen/mkdocs-glightbox#usage)
- glightbox:
zoomable: true
# - search # This is the original mkdocs search plugin. To use algolia search, comment out this plugin.
- search # This is the original mkdocs search plugin. To use algolia search, comment out this plugin.
- macros:
# zh.begin
include_dir: docs-2.0-zh/reuse/
Expand Down

0 comments on commit f88fdfa

Please sign in to comment.