mirror of
https://github.com/haiwen/seafile-admin-docs.git
synced 2025-12-26 02:32:50 +00:00
Merge pull request #333 from haiwen/support_version_control
Some checks are pending
Deploy CI / deploy (push) Waiting to run
Some checks are pending
Deploy CI / deploy (push) Waiting to run
feat: support_version_control
This commit is contained in:
commit
acad3f78ef
|
|
@ -10,9 +10,13 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.x
|
||||
- run: pip install mkdocs-material mkdocs-awesome-pages-plugin mkdocs-material-extensions
|
||||
- run: pip install mkdocs-material mkdocs-awesome-pages-plugin mkdocs-material-extensions mike
|
||||
- run: cd $GITHUB_WORKSPACE
|
||||
- run: mkdocs gh-deploy --force
|
||||
- run: git config user.name ci-bot
|
||||
- run: git config user.email ci-bot@seafile.com
|
||||
- run: mike deploy --push -u 11.0 latest
|
||||
|
|
@ -20,12 +20,15 @@ theme:
|
|||
plugins:
|
||||
- search
|
||||
- awesome-pages
|
||||
- mike
|
||||
|
||||
# Customization
|
||||
extra:
|
||||
social:
|
||||
- icon: fontawesome/brands/github
|
||||
link: https://github.com/haiwen/seafile-admin-docs/
|
||||
version:
|
||||
provider: mike
|
||||
|
||||
extra_css:
|
||||
- stylesheets/extra.css
|
||||
|
|
|
|||
Loading…
Reference in New Issue