Update mkdocs.yml

This commit is contained in:
Antonio Navarro Perez 2021-10-07 19:45:02 +02:00 committed by GitHub
parent 9d1fcaa827
commit 5f95dd93b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,7 +61,8 @@ jobs:
echo "${CUSTOM_DOMAIN}" > "${GITHUB_WORKSPACE}/mkdocs/docs/CNAME" echo "${CUSTOM_DOMAIN}" > "${GITHUB_WORKSPACE}/mkdocs/docs/CNAME"
echo -e "User-agent: *\nDisallow: /v*.*/\nSitemap: https://${CUSTOM_DOMAIN}/sitemap.xml" > "${GITHUB_WORKSPACE}/mkdocs/docs/robots.txt" echo -e "User-agent: *\nDisallow: /v*.*/\nSitemap: https://${CUSTOM_DOMAIN}/sitemap.xml" > "${GITHUB_WORKSPACE}/mkdocs/docs/robots.txt"
git fetch origin gh-pages --verbose git fetch origin gh-pages --verbose
mike deploy latest -t "Cloud (Latest)" --config-file "${GITHUB_WORKSPACE}/mkdocs/mkdocs.yml" --push --rebase mike delete dev
mike deploy dev -t "master" --config-file "${GITHUB_WORKSPACE}/mkdocs/mkdocs.yml" --push --rebase
env: env:
CUSTOM_DOMAIN: distribyted.com CUSTOM_DOMAIN: distribyted.com