Does GitHub Pages support folders starting with a dot? #22227
-
Hi all, I’d like to ask a question related to GH Pages. I migrated my blog from Ghost to a statically generated sit, and I’m trying to deploy it with GH pages. I have some routes in my blog where a route segment (thus the name of the corresponding folder starts with a dot). For example the content for the page of the Is this not supported? Or should the Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @markvincze, welcome to the GitHub Support Community! It’s probably Jekyll that’s blocking that folder from being included in your deploy. Jekyll is run be default and ignores folders that start with certain characters. It looks like you’re not using Jekyll so you can disable it by creating an empty file called |
Beta Was this translation helpful? Give feedback.
-
Hi @thomasshaped, This fixed the problem, thanks a bunch! |
Beta Was this translation helpful? Give feedback.
Hi @markvincze, welcome to the GitHub Support Community! It’s probably Jekyll that’s blocking that folder from being included in your deploy. Jekyll is run be default and ignores folders that start with certain characters.
It looks like you’re not using Jekyll so you can disable it by creating an empty file called
.nojekyll
in the root of yourgh-pages
branch. Once you’ve done that any folders starting with.
should be included in your site build.