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. Please ensure the content does not contain any hard links, symlinks and total size is less than 10GB." yet everything looks fine #389

Open
colinc1991 opened this issue Feb 2, 2025 · 4 comments

Comments

@colinc1991
Copy link

When deploying my Angular web app to GitHub Pages using actions/deploy-pages@v4 I get an error: Error: Artifact could not be deployed. Please ensure the content does not contain any hard links, symlinks and total size is less than 10GB. (screenshot below)

Image

I have added steps in the workflow to ensure there are no hard links or symlinks and also to ensure the total artifact size is less than 10GB (see below screenshot) so I'm puzzled at what is going wrong here. My workflow was working fine when I was using v1 but since the deprecation I have since moved over to v4.

Image

You can find the failing GH Actions workflow here: https://github.com/colinc1991/ShoppingCalc/actions/runs/13103111556/job/36553816180

@iarspider
Copy link

@nirajpandkar
Copy link

nirajpandkar commented Feb 4, 2025

EDIT: It works with "actions/upload-pages-artifact@v3"! So weird.


Same issue after the upgrade to v4. I have upgraded all the versions to v4 -

  1. deploy-pages
  2. upload-artifact
  3. configure-pages
  4. checkout

Link to failing deploy with the same message as OP - https://github.com/nirajpandkar/nirajpandkar.github.io/actions/runs/13132089251/job/36639271639

@iarspider
Copy link

EDIT: It works with "actions/upload-pages-artifact@v3"! So weird.

I came to the same conclusion. Looks like upload-artifact produces filename.zip, and this action wants filename.tgz.

@colinc1991
Copy link
Author

I've also found that swapping to upload-pages-artifact@v3 gets the workflow to pass

bGZo added a commit to bGZo/notes that referenced this issue Feb 10, 2025
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

3 participants