Ignore remote when forcing generation of docs (#1592)

This commit is contained in:
trapexit
2025-11-25 23:39:13 -06:00
committed by GitHub
parent 411d181473
commit d3a3f65e7b
+3 -3
View File
@@ -6,13 +6,13 @@ current_branch="$(git branch --show-current)"
mike delete --all --push --allow-empty --ignore-remote-status
git checkout "master"
mike deploy --push "latest" "master"
mike deploy --push "latest" "master" --ignore-remote-status
for tag in $(git tag -l | sort --version-sort --reverse)
do
if git ls-tree -r --name-only "${tag}" | grep -q 'mkdocs.yml'; then
git checkout "${tag}"
mike deploy --push "${tag}"
mike deploy --push "${tag}" --ignore-remote-status
fi
done
@@ -21,6 +21,6 @@ done
#mike alias --push "${latest}" "latest"
#mike alias --push "latest" "latest"
mike set-default --push "latest"
mike set-default --push "latest" --ignore-remote-status
git checkout "${current_branch}"