As previously mentioned here:
I was struggling with why deploy-pages was rejecting my artifact, and it turns out it is because I was following the README and gzip-compressing my tarball. Removing that step resolved the issue. [...] Deploy-pages expects a zip containing an uncompressed tar.
Please update the misleading README. It should not mention "gzip", and it should note that upload-artifact, used internally, creates a zip for you.
As previously mentioned here:
Please update the misleading README. It should not mention "gzip", and it should note that upload-artifact, used internally, creates a zip for you.