如何在 Azure 静态 Web 应用程序中更改工作流的 yml 文件?

时间:2021-05-04 17:48:21

标签: azure github github-actions azure-static-web-app

我在 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 中的配置。任何帮助表示赞赏。

天蓝色: Azure's config

GitHub: Github config

1 个答案:

答案 0 :(得分:0)

已确认为已知问题 (link),可能会在以后的版本中修复。

目前没有解决方法,因此您必须继续使用默认生成的文件名。