How to publish artifact to Azure Static Web App using release pipeline

Jinalkumar Patel 21 Reputation points
2021-07-15T03:25:25.023+00:00

Scenario.

  • Creating one simple angular application ( Basic one)
  • Codebase in Azure DevOps.
  • Now I have build pipeline that will build that angular app and build pipeline publish artifact.

All the content available is talk about deploying to static web apps directly from Build pipeline but build pipeline is for build.

I am looking for solution that as part of build process what artifact publish , I will create release pipeline and this pipeline will deploy to Azure static web app.

Any advice or suggestion or solution.

Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
782 questions
{count} votes

2 answers

Sort by: Most helpful
  1. BhargaviAnnadevara-MSFT 5,461 Reputation points
    2021-07-28T14:07:04.487+00:00

    @Jinalkumar Patel Thanks for reaching out. There is a very similar issue that was created recently with the Azure/static-web-apps repository having similar asks: Ability to deploy using an Azure DevOps Release Pipeline #510

    As mentioned by SWA Team's PM, Anthony, there is a feature being worked upon to enable deploying to Static Web Apps from Azure DevOps Release Pipelines. The tentative ETA for early updates to the Static Web Apps Deploy task to be available is around 4-6 weeks or so.

    Please track further updates to the request on the same issue and provide your feedback/requirements as comments to let our Product group know.

    Hope this helps. Do let us know if you have further questions.

    ----------

    If an answer is helpful, please "Accept answer" and/or "Up-Vote" which might help other community members reading this thread.


  2. Szilard Vigh 1 Reputation point
    2022-02-15T21:02:42.95+00:00

    Thanks for the GitHub issue link, I'm trying to follow both, but could you estimate when will the fix arrive in production?

    0 comments No comments