How to deploy using github actions to webapp behind private endpoint

anasskeddo 6 Reputation points
2023-01-28T19:50:52.9233333+00:00

Hello,

I'm facing a problem and cannot figure out the best way to solve it.

Deploying new versions using github actions to webapp works like a charm but once you put your webapp behind a private endpoint it become a nightmare since the runner cannot deploy into webapp since access to the webapp behind a private link is only possible withing the same vnet...

Any solution or best practice to follow ?

Thank you

Azure Private Link
Azure Private Link
An Azure service that provides private connectivity from a virtual network to Azure platform as a service, customer-owned, or Microsoft partner services.
433 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Luke Murray 10,276 Reputation points MVP
    2023-01-29T00:14:03.1566667+00:00

    Hi, if your attempting top deploy in a private VNET, then you will need to setup a self-hosted github runner, which has line of sight to the resources you are attempting to deploy to.

    https://docs.github.com/en/actions/hosting-your-own-runners/about-self-hosted-runners