If you are still facing an issue with deploying your react app via GitHub Actions to Azure Web App. To elaborate- The error message you received indicates that there is not enough space on the disk. One possible reason for this error could be the large size of your deployment package. As you mentioned, you received a warning that there are over 40,000 files and that you should archive unnecessary files. This could be an indication that your deployment package is too large and contains unnecessary files.
- To resolve this issue, you can try to reduce the size of your deployment package by removing unnecessary files. You can use tools like Git LFS (Large File Storage) to manage large files and reduce the size of your repository. - https://docs.github.com/en/repositories/working-with-files/managing-large-files/about-git-large-file-storage
- You can also use tools like webpack to optimize your build and reduce the size of your deployment package.- https://medium.com/@ipenywis/how-to-reduce-your-webpack-bundle-size-for-web-app-optimization-02-9b7086e30a6d
- Another possible reason for this error could be the storage quota limit of your app. As you mentioned, the max storage of your app through AzurePortal is 1 GiB. If your deployment package exceeds this limit, you may encounter issues with deploying your app. In this case, you can try to increase the storage quota limit of your app by upgrading your app service plan or by using Azure Blob Storage to store your files.- https://www.serverlessnotes.com/docs/increase-the-disk-space-allocated-to-your-web-app; https://docs.xperience.io/k9/running-kentico-on-microsoft-azure/running-kentico-in-azure-web-apps/increasing-storage-capacity-on-azure-web-apps
- If you have already tried these solutions and are still facing issues, it may be helpful to check the logs for more details on the deployment failure. You can access the logs through the Azure Portal or by using the Azure CLI.- https://learn.microsoft.com/en-us/azure/app-service/troubleshoot-diagnostic-logs If you are still unable to resolve the issue, please let us know.