Deploy project created with foundation-cli?

寵の児 提交于 2019-12-08 05:27:23

问题


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?


回答1:


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

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".

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



来源:https://stackoverflow.com/questions/58387177/deploy-project-created-with-foundation-cli

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!