Update mkdocs.yml

This commit is contained in:
Antonio Navarro Perez 2021-10-08 12:00:56 +02:00 committed by GitHub
parent 0a96f836b7
commit cd35e8fe12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,7 +66,7 @@ jobs:
CUSTOM_DOMAIN: distribyted.com
- name: Deploy docs (Versions)
if: startsWith(github.ref, 'refs/heads/release/v')
if: startsWith(github.ref, 'refs/tags/v')
run: |
git fetch origin gh-pages --verbose
mike deploy ${GITHUB_REF##*/release/} latest -t "Self-hosted ${GITHUB_REF##*/release/}" --config-file "${GITHUB_WORKSPACE}/mkdocs/mkdocs.yml" --push --rebase