-
I have this gh-pages branch: https://github.com/superflycss/component-site/blob/gh-pages/deploy/index.html But index.html is not showing up? https://superflycss.github.io/component-site/deploy/ Thoughts? |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
I am pretty sure this issue stems from the fact that you’re trying to create a GitHub Pages site via an organization repository that does not fit the requirements for one. According to the GitHub Pages documentation:
^ this means you would have to deploy a GitHub Pages site in a repository named superflycss.github.io; you might also have to fully enable the site in the repository’s settings once it is created. I hope this helps! If you want to learn more about GitHub Pages and on creating a new site through it, you can visit their documentation. |
Beta Was this translation helpful? Give feedback.
-
I’m using the same process I use for all the other superflycss repositories. For example this one: https://www.npmjs.com/package/@superflycss/component-test https://superflycss.github.io/component-test/target/test/html/ https://github.com/superflycss/component-test/tree/gh-pages The only difference is that I changed the travis command to publish the html files to deploy instead of target/test/html. I’m testing serving of optimized CSS files. |
Beta Was this translation helpful? Give feedback.
-
Ahhh, I see. Not sure if that Travis command you used can somehow differ the process used to display a GitHub Pages site. If possible, I recommend trying your old method again and seeing if that fixes the issue and then move on to brainstorming a new method of attempting to achieve what you want right now. I personally am not sure of the issue occurring myself, so I am just giving you advice on how to test for a problem. Hope it works out good in the end! |
Beta Was this translation helpful? Give feedback.
-
But your hunch made me look at the settings and it had this in it: > Your site is having problems building: The tag import on line 18 in README.md is not a recognized Liquid tag. For more information, see https://help.github.com/en/articles/page-build-failed-unknown-tag-error.
Weird that it’s complaining about that since it’s part of the README and not the site. Anyways I’m pretty adding README.md to .gitignore should fix it |
Beta Was this translation helpful? Give feedback.
-
This is what I have for travis now (needed to add
|
Beta Was this translation helpful? Give feedback.
-
Your site is having problems building: . For more information, see https://help.github.com/en/articles/page-build-failed-unknown-tag-error.
|
Beta Was this translation helpful? Give feedback.
Ahhh, I see. Not sure if that Travis command you used can somehow differ the process used to display a GitHub Pages site. If possible, I recommend trying your old method again and seeing if that fixes the issue and then move on to brainstorming a new method of attempting to achieve what you want right now.
I personally am not sure of the issue occurring myself, so I am just giving you advice on how to test for a problem. Hope it works out good in the end!