How to create a release pipeline for Azure static webapp

Koteswara Pentakota 71 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 ISV (Independent Software Vendors) and Startups
Azure ISV (Independent Software Vendors) and Startups
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.ISV (Independent Software Vendors) and Startups: A Microsoft program that helps customers adopt Microsoft Cloud solutions and drive user adoption.
97 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,094 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ryan Hill 29,386 Reputation points Microsoft Employee
    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.