Deploy to Azure Web App - "There is not enough space on the disk"

Nick Gotsy 0 Reputation points
2023-10-28T19:20:19.7833333+00:00

I'm trying to deploy my react app for the first time via GitHub Actions, however, I get the following error in the "Deploy to Azure Web App" phase:

Package deployment using ZIP Deploy initiated. Fetching changes. Cleaning up temp folders from previous zip deployments and extracting pushed zip file C:\local\Temp\zipdeploy\z0e1gika.zip (191.73 MB) to C:\local\Temp\zipdeploy\extracted There is not enough space on the disk.\r\n Error: Failed to deploy web package to App Service. Error: Deployment Failed, Package deployment using ZIP Deploy failed. Refer logs for more details.

In the "Download Artifact From Build Job" phase, I get a warning that there are over 40,000 files and that I should archive unnecessary files. I have a strong suspicion it is due to this - if so, I'm not sure how I can go about identifying and removing unnecessary files.

I also checked the max storage of my app through AzurePortal, which under File System Storage states that I have a 1 GiB threshold. It seems like even with such a large amount of artifacts, it should still be able to handle it, so I'm not sure what's going on.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,081 questions
{count} votes