How to create a release pipeline for Azure static webapp

Koteswara Pentakota 76 Reputation points
2022-04-22T16:50:29.72+00:00

We are migrating from Azure app service to Azure static web application. We created a build pipeline for this which is also currently deploying the application. We were able to create a separate build and release pipeline for Azure app service but not sure how to separate this for Azure static web app.

Appreciate some inputs on this.

Azure | Azure ISV (Independent Software Vendor) and Startups
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 30,291 Reputation points Microsoft Employee Moderator
    2022-04-23T02:10:33.163+00:00

    Hi @Koteswara Pentakota ,

    When you say separate, I'm assuming you mean being able to run your App Service pipeline and Static Web App pipeline independently of each other. Other than setting the trigger property in Azure Pipelines; on in GitHub Actions, I don't believe there's any way to separate the two. Reason being your yaml is part of your repo. The only option I can think of is using the Azure Pipelines Classic Editor, basically using a Build Agent to pull down your code, build it, and publish the assets. Now I don't believe you can use Static Web Apps for this, but you can definitely switch your App Service to this sort of deployment.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.