Update mkdocs.yml
This commit is contained in:
parent
679138d26f
commit
8b849d71c6
1 changed files with 3 additions and 3 deletions
6
.github/workflows/mkdocs.yml
vendored
6
.github/workflows/mkdocs.yml
vendored
|
@ -54,7 +54,7 @@ jobs:
|
|||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Deploy docs (Latest)
|
||||
- name: Deploy docs (Master)
|
||||
if: github.ref == 'refs/heads/master'
|
||||
working-directory: ./mkdocs
|
||||
run: |
|
||||
|
@ -65,8 +65,8 @@ jobs:
|
|||
env:
|
||||
CUSTOM_DOMAIN: distribyted.com
|
||||
|
||||
- name: Deploy docs (Self-hosted)
|
||||
- name: Deploy docs (Versions)
|
||||
if: startsWith(github.ref, 'refs/heads/release/v')
|
||||
run: |
|
||||
git fetch origin gh-pages --verbose
|
||||
mike deploy ${GITHUB_REF##*/release/} -t "Self-hosted ${GITHUB_REF##*/release/}" --config-file "${GITHUB_WORKSPACE}/mkdocs/mkdocs.yml" --push --rebase
|
||||
mike deploy ${GITHUB_REF##*/release/} latest -t "Self-hosted ${GITHUB_REF##*/release/}" --config-file "${GITHUB_WORKSPACE}/mkdocs/mkdocs.yml" --push --rebase
|
||||
|
|
Loading…
Reference in a new issue