echo "Site dir:"
ls -lah dist/site
echo "Functions dir:"
ls -lah dist/functions
And that correctly lists the files in dist/site and an empty directory in dist/fuctions (I’m not using functions, never have). So the files are in the deploy directory as far as I can see.
I’m stuck not able to deploy anyhting.
Is there something that might be happening with Netlify infra?
Update: I’m seeing this on all branches and all repos/sites I have checked
I just discovered that I am able to deploy directly to Netlify using cli, but the error is blocking any deploys happening inside Github Actions, so all deploys across all my sites are currently blocked.
Deploying directly bypassing Github actions isn’t a great workaround because there are a bunch of things that get done in the Github actions that I need to happen that don’t happen when I build and deploy locally, so I would appreciate some feedback on this.
I’ve run into the same issue. The github action is quietly failing with “ReferenceError: Response is not defined”. I didn’t even realize my last deploy of about 8 hours also failed.
Yeah thats exactly what happened to me. It fails silently which makes it even worse.
I checked the netlify-cli action’s repo and they havent made any code changes in a very long time, which really points to something in the Netlify infra that is causing the error.
Thanks for posting @srk i see you are new user. Welcome.
Thank you. I followed your input and used netlify cli for direct manual deploy. But that is definitely not ideal since it leaves some of my pre and post deploy steps to be done manually.
@netlifysupport team - can you help here. It has been more than two days since the issue was posted.
Ideally, you don’t need the CLI action. You can simply install CLI as a part of your workflow. In any case, I’ve updated the action to v2.0.0: update to Node.js 22 · netlify/actions@3185065, which should resolve this.