@Dan bayley It sounds like you're encountering a timeout issue during your Azure Static Web App deployment when uploading a large zip file with 8000 pages. While the Azure portal provides minimal information about the error, your observation about smaller deployments succeeding points towards a timeout scenario.
Here are some steps you can take to troubleshoot and potentially resolve the issue: 1. Verify Timeouts:
- Check the timeout settings for your Azure Static Web App deployment. You can adjust these settings in the portal or your deployment configuration files. Increasing the timeout value might allow the deployment to complete for larger files.
- Consult the Azure Static Web App documentation for specific information on deployment timeouts: https://learn.microsoft.com/en-us/azure/static-web-apps/
2. Explore Alternative Deployment Methods:
- Consider using alternative deployment methods that might be better suited for larger files. Azure supports deploying static websites from GitHub repositories, Azure Storage blobs, and even continuous integration/continuous delivery (CI/CD) pipelines. These methods might offer improved handling of large files.
3. Analyze Deployment Logs:
- While the Azure portal might not display detailed information, review your deployment logs for any clues about the cause of the failure. These logs could be generated by your CLI tool or stored within the Azure platform itself. Searching for keywords like "timeout" or exceeding resource limits might provide insights.
4. Optimize Your Zip File:
- If you must use a zip file, consider optimizing it to reduce its size. This could involve:
- Removing unnecessary files or directories.
- Using compression algorithms with better compression ratios for static assets.
- Splitting the zip file into smaller chunks if possible.
- Using compression algorithms with better compression ratios for static assets.
- Removing unnecessary files or directories.
If you have further questions, let us know.
-Grace