如何在不使用工作流编辑器的情况下将我的静态页面上的flutter应用程序发布到其静态页面上

发布于 2025-02-03 05:07:56 字数 220 浏览 5 评论 0原文

我能够将我的Flutter应用程序发布到CodeMagic静态页面上。我进入正在分发的工作流编辑器,可以进行设置。我想摆脱工作流编辑器,然后使用他们的codemagic.yaml文件。当我这样做时,我看不到如何将发布添加到静态页面。我找不到任何文档。所有文档都说是从工作流编辑器来完成的。

我可以在yaml文件中配置它吗?我希望能够用我的构建编写脚本,因此我需要YAML选项。谢谢。

I am able to publish my flutter app to the Codemagic static pages. I go into workflow editor under distribution and I can set it up. I want to get away from workflow editor and use their codemagic.yaml file instead. When I do that, I don't see how I can add the publish to static pages. I can't find any documentation on it. All the documentation says to do it from workflow editor.

Can I configure this in the yaml file? I want to be able to write scripts with my builds, so I need the yaml option. Thanks.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

蓝眸 2025-02-10 05:07:56

CodeMagic开发人员在这里。

不幸的是,目前(2022年5月),我们提供静态页面,以便为教育目的快速预览。高级用户应考虑使用诸如Firebase托管之类的专业解决方案来托管站点。

因此,这就是为什么我们不支持使用codemagic.yaml文件的静态页面部署的原因,但是您可以使用预装的Firebase CLI工具或任何其他服务轻松地发布到Firebase托管。

Codemagic developer here.

Unfortunately at this moment (May 2022) we provide static pages for quick preview for educational purpose mostly. Advanced users should consider to use professional solutions like Firebase Hosting to host sites.

So this is why we don't support static page deployment with codemagic.yaml file, but you can easily publish to Firebase Hosting using preinstalled Firebase CLI tools or to any other services.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文