I have set up two pipelines to deploy a front end (React) and a back end (.NET8) , To integrate GitHub actions to web apps I have used deployment center (web apps), The pipeline for deploying back end runs perfect but the pipeline for the front end fails after running for 1 hour, Below is the pipeline code for the deployment step
jobs:
# Step 5: Deploy the app to Azure Web App
- name: Deploy web app using Azure credentials
uses: azure/webapps-deploy@v3
with:
app-name: ${{ env.AZURE_WEBAPP_NAME }}
package: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}
Below is the exact error; "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." I have tried multiple time like creating custom pipelines and using az cli etc but the same issue occurs.
I was expecting that the front end will smoothly be deployed as we are using an azure service for integration and pipeline but "azure/webapps-deploy@v3" is not functioning as it is supposed to function.




