我在 Azure 中使用 GitHub 创建了一个静态 Web 应用程序。应用程序和 API 运行良好,URL 类似于 https://[random-name].azurestaticapps.net
,源代码是 GitHub 中的 main
分支。我的问题是我想将静态 Web 应用程序配置中 GitHub 的工作流文件的名称从 azure-static-web-apps-[random-name].yml
更改为 release-build.yml
。这是 GitHub 存储库目录中的文件:.github/workflows/
。
总结一下,我可以将 GitHub 中的工作流文件从 azure-static-web-apps-[random-name].yml
重命名为 release-build.yml
,但我无法在 Azure 的静态 Web 应用程序资源中执行此操作。我在哪里可以在 Azure 中重命名该配置?我已经浏览了文档和配置,但我不知道在哪里做。
所附图片是我在 Azure 中的配置和我在 GitHub 中的配置。任何帮助表示赞赏。