"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

Open
#389 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
angular, github-actions, javascript
Domain
ci-cd, devops, web-dev

Research direction

Start with the linked failing GitHub Actions workflow run and compare its artifact creation and deployment steps with the previously working v1 setup. Investigate why the v4 deployment rejects the artifact despite the reported size and link checks. Done means identifying a reproducible cause and documenting or implementing a verified resolution.

Written by the indexing model from the issue text.

Description

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

Dominant language
JavaScript
Stars
967
Forks
147
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from actions/deploy-pages

All issues in actions/deploy-pages

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.