github-pages

Get a blank page after pushing a site using Github pages with Jekyll

老子叫甜甜 提交于 2020-08-02 08:04:10
问题 I created a GitHub Pages site with Jekyll. Everything is fine when browsing to http://localhost:4000. Then I pushed it to GitHub, but there is nothing (blank page, no error, no content) when accessing https://USERNAME.github.io/. The content of Gemfile , source "https://rubygems.org" ruby RUBY_VERSION gem "minima", "~> 2.0" gem "github-pages", group: :jekyll_plugins group :jekyll_plugins do gem "jekyll-feed", "~> 0.6" end The structure of my repo, (why is _site not uploaded?) _posts Initial

npm run deploy ignore hooks

Deadly 提交于 2020-07-18 08:11:09
问题 I was getting below error while committing the changes. Simply adding .pre-commit-config.yaml file or deleting .git\hooks folder was not resolving my problem. So I added --no-verify option while committing and it solved my problem. Now, I am trying to deploy my react app to Github Pages. When I run npm run deploy I get the same error as shown in the below picture. How I can add --no-verify option while npm run deploy ? Simply adding .pre-commit-config.yaml file or deleting .git\hooks folder

Unable to change source branch in GitHub Pages

拟墨画扇 提交于 2020-07-16 16:45:49
问题 I have created a simple web site for GitHub Pages. The source of the site is in the "master" branch and the generated web site (what I want to see published) is under the "gh-pages" branch. I was expecting to be able to change the source of the site in the settings. However, the setting is grayed out? I cannot change it (see screenshot below). What am I doing wrong? How do I switch to the "gh-pages" branch? 回答1: Personal or organization sites are built from master . gh-pages branch is used to

Github Pages 404 on node_modules folder

谁说我不能喝 提交于 2020-07-14 01:39:49
问题 I am trying to render my GitHub repo on the Publisher-Subscriber module with JavaScript using GitHub pages. The gh-pages branch looks fine. However, the mustache code does not render on my project on GitHub Pages. It looks like this : GitHub Repository : https://github.com/ajhalthor/pubsub-application Github Pages Repo for this project : https://ajhalthor.github.io/pubsub-application/ The GitHub Repository also has the node_modules folder, so it should be self sufficient. Mustache, jQuery &

Github Pages 404 on node_modules folder

徘徊边缘 提交于 2020-07-14 01:35:19
问题 I am trying to render my GitHub repo on the Publisher-Subscriber module with JavaScript using GitHub pages. The gh-pages branch looks fine. However, the mustache code does not render on my project on GitHub Pages. It looks like this : GitHub Repository : https://github.com/ajhalthor/pubsub-application Github Pages Repo for this project : https://ajhalthor.github.io/pubsub-application/ The GitHub Repository also has the node_modules folder, so it should be self sufficient. Mustache, jQuery &

Getting blank index.html when Angular 7 deploy to github

时间秒杀一切 提交于 2020-07-10 09:45:52
问题 I have deployed Angular website using Github pages. Entire process is successful but when I am opening the website its showing blank page. Its loading index.html page but still its blank. Can you please help me solve the issue. Here is the link https://s530860.github.io/website/ https://s530860.github.io/website/ 回答1: If you deploy your website other than the main domain, you need to build it with this type of command. In your example I can see you have using sub directory url called /website