I am attempting to use Github Pages to host my Rust documentation created with cargo doc. The CI system builds the documentation then uses actions/upload-pages-artifact@v3 to upload the artifact, then uses actions/deploy-pages@v4 to deploy it.
The documentation builds correctly (I can manually download the artifact and examine it), but the deployment fails with:
Error: Artifact could not be deployed. Please ensure the content does not contain any hard links, symlinks and total size is less than 10GB.
I verified that the artifact contains no symlinks or hard links, and is far less than 10GB. I may have missed something, however. I have attached the workflow and the resulting artifact, and the project is hosted at https://github.com/sgilfeather/CyberGrape if you are interested in that.
Hello there!
I am attempting to use Github Pages to host my Rust documentation created with
cargo doc
. The CI system builds the documentation then usesactions/upload-pages-artifact@v3
to upload the artifact, then usesactions/deploy-pages@v4
to deploy it.The documentation builds correctly (I can manually download the artifact and examine it), but the deployment fails with:
I verified that the artifact contains no symlinks or hard links, and is far less than 10GB. I may have missed something, however. I have attached the workflow and the resulting artifact, and the project is hosted at https://github.com/sgilfeather/CyberGrape if you are interested in that.
Thank you so much in advance for your help!
Best, Liam
rust2.yml github-pages.zip