问题
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