webapps-deploy: Package deployment fails on v3.0.0
With the update to v3 deployment started to fail with:
Run azure/webapps-deploy@v3
Package deployment using OneDeploy initiated.
Error: Failed to deploy web package to App Service.
Error: Deployment Failed, Error: Failed to deploy web package using OneDeploy to App Service.
Not Found (CODE: [40](https://github.com/pure-fa/fa-cbs-lighthouse/actions/runs/6532560651/job/17735980172?pr=85#step:16:41)4)
On v2 the workflow and function app configuration we have was working. Since the release doc explicitly says that Users who are currently using the webapps-deploy@v2 can still use the same action without any change in the workflow file. I assume no changes are needed on our side.
Our workflow for reference:
- name: Publish package
id: publish_package
uses: azure/webapps-deploy@v3
with:
resource-group-name: ${{ env.AZURE_FUNCTION_RESOURCE_GROUP_NAME }}
app-name: ${{ env.AZURE_FUNCTION_APP_NAME }}
package: ${{ env.AZURE_FUNCTION_APP_PACKAGE_PATH }}
About this issue
- Original URL
- State: open
- Created 3 years ago
- Comments: 15 (3 by maintainers)
@gopher194 and anyone else having the same problem with the
EISDIRerror and happens to land here: the issue seems to be from settingpackageto point to a directory instead of a file. This fixed it for me:Suggestion for Azure team: make the reason for this error a little more verbose.
Hi, I was testing v3, but can’t make it work:
That deploys successfully, with:
that lamentably fails with this error: