Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Artifact could not be deployed; no symlinks or hard links, small size #331

Closed
liam-strand opened this issue Apr 3, 2024 · 1 comment
Closed

Comments

@liam-strand
Copy link

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 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.

Thank you so much in advance for your help!

Best,
Liam

rust2.yml
github-pages.zip

@liam-strand liam-strand changed the title Artifact could not be deployed ... symlinks, hardlinks, size Artifact could not be deployed; no symlinks or hard links, small size Apr 3, 2024
@liam-strand
Copy link
Author

Ah, I found #303 and it works for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant