You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In https://github.com/developmentseed/lonboard I have a CI script that deploys mike-based documentation. Publishing docs from CI worked fine for the v0.7.1 tag but failed for the v0.8.0 tag. It fails with only the text error: File is not a zip file.
If it's an issue on my side, it would have to be in this changeset. I don't see anything that specifically jumps out at me, but error: File is not a zip file isn't so descriptive that I know where to look.
I don't usually test building the docs on each pull request, but tomorrow I can go through git bisect for each PR and test mike deploy on each commit if that's helpful. poetry run mkdocs build still works.
I don't usually test building the docs on each pull request, but tomorrow I can go through git bisect for each PR and test mike deploy on each commit if that's helpful. poetry run mkdocs build still works.
Bisecting would definitely help, yeah. You can also get more information about the error by calling mike --debug deploy. That'll print the full backtrace. I'm not sure where the issue would be in mike though, since mike doesn't (intentionally) use zip files anywhere. Perhaps it's another misbehaving plugin?
Please check the version of your mkdocs-material dependency. It had to be updated because a Google download was no longer available, see details here: squidfunk/mkdocs-material#6983
Please check the version of your mkdocs-material dependency. It had to be updated because a Google download was no longer available, see details here: squidfunk/mkdocs-material#6983
Summary
In https://github.com/developmentseed/lonboard I have a CI script that deploys mike-based documentation. Publishing docs from CI worked fine for the v0.7.1 tag but failed for the v0.8.0 tag. It fails with only the text
error: File is not a zip file
.If it's an issue on my side, it would have to be in this changeset. I don't see anything that specifically jumps out at me, but
error: File is not a zip file
isn't so descriptive that I know where to look.I don't usually test building the docs on each pull request, but tomorrow I can go through
git bisect
for each PR and testmike deploy
on each commit if that's helpful.poetry run mkdocs build
still works.Configuration and Logs
Repository: https://github.com/developmentseed/lonboard
Platform: Github actions linux
mike
version: 2.0.0 (poetry.lock
)Commit generated by
mike
:CI configuration: https://github.com/developmentseed/lonboard/blob/16d4c3ce41fbd540585b4ef3e5395cee4038e8ee/.github/workflows/deploy-mkdocs.yml
CI logs: This run, which errors only with:
Steps to Reproduce
Expected Behavior
Additional Context
The text was updated successfully, but these errors were encountered: