GitHub Webhook自动部署到Azure API管理服务

发布于 2025-02-06 17:44:43 字数 222 浏览 1 评论 0原文

我有一个在Azure API管理服务中托管的API。它是通过Visual Studio中的发布功能部署的。

现在,我被要求设置GitHub Webhook集成,以便我的端点自动部署到每个提交后的Azure。

从我对Webhooks的理解来看,它们本质上是事件发生后触发的通话。

我的问题是在哪里创建Webhook URL,以及如何将最新的GitHub代码部署到Azure API管理服务?

I have an api hosted in Azure API Management Services. It was deployed through the Publish feature in Visual Studio.

Now I've been asked to set up Github webhook integration so that my endpoint auto deploys to Azure after each commit.

From my understanding of webhooks, they are essentially POST calls that are triggered after an event.

My question is where to create the webhook url and how to have it deploy latest github code to Azure API management services?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文