I was fiddling with deployment via the Kudo console in the Azure app service. Removed one file as part of testing. The expectation was that the next deployment would put the file back.
The next deployment from GitHub actions failed with the below message.
No more details on failure in GH Actions logs. There was an error as shown below in the Azure AppService Deployment center.
Error: ENOENT: no such file or directory, open '/home/site/wwwroot/Azure.Core.dll
That was the exact file I removed earlier.
Debugging
Hypothesis 1
Hypothesis 2
Solution
Finally attempted the Microsoft-certified solution of Restarting the App service. It worked.
The order is to stop the App service, do the deployment, and start again.
No comments:
Post a Comment