部署使用foundation-cli创建的项目? [英] Deploy project created with foundation-cli?

查看:57
本文介绍了部署使用foundation-cli创建的项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试确定是否有任何方法可以部署此项目 https://github.com/nataliecardot/zeus-hosting-setup ,最好是GitHub Pages.当我运行 foundation build 时,没有创建dist文件夹,它显然是旧问题.我有可能以任何方式部署它吗?否则,是否有其他在线获取方式?

I'm trying to figure out if there's any way to deploy this project https://github.com/nataliecardot/zeus-hosting-setup, preferably to GitHub Pages. No dist folder is created when I run foundation build, which apparently is an old issue. Is it possible for my to deploy this in any way? Or if not, any other way to get it online?

推荐答案

您需要生成将在线发布的静态页面,并在相应的分支中进行

You need to generate the static pages that will be published online, and do so in the appropriate branch.

由于master包含生成页面所需的内容,因此这些页面需要存储在 gh_pages 分支中.
请参阅" GitHub Pages站点的类型"及其下一部分"

Since master includes what is necessary to generate the pages, said pages need to be stored in a gh_pages branch.
See "Types of GitHub Pages sites" and its next section "Publishing sources for GitHub Pages sites".

重点仍然是:仅保留其 master 分支的该存储库本身不会使任何页面可见.

The point remains: that repository as it is, with only its master branch, would not make any page visible on its own.

这篇关于部署使用foundation-cli创建的项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆