Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question]: Why does web app (linux) deployment via gitactions fails after running for 1 hour even though I am using the deployment center (web apps)? #20680

Open
1 of 4 tasks
Abaiz-khan opened this issue Nov 20, 2024 · 1 comment

Comments

@Abaiz-khan
Copy link

Task name

Deploying to Web apps using "azure/webapps-deploy@v3"

Task version

0.0.1

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Ubuntu 22

Question

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 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,Is "azure/webapps-deploy@v3" not functioning as it is supposed to function or am I missing something ?
@v-vinaykoora
Copy link

@Abaiz-khan We would like to inform you that the OneDeploy option is currently not supported in Version 3. However, we are actively working on this enhancement, and the feature is planned to be released in January for Version 5 after the freeze duration.

Once the update is rolled out, we will notify you so you can try deploying and provide us with your feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants