Fixing: Artifact could not be deployed. Please ensure the content does not contain any hard links, symlinks and total size is less than 10GB.

đź’ˇTLDR: use actions/upload-pages-artifact instead of actions/upload-artifact. If you're building a JS project using a static site generator like Eleventy (11ty) or Astro, you might encounter this really annoying issue where the artifact is showing as uploaded and is downloadable but the deployment never finishes because of
Muhammad Usman