Documentation looks beautiful locally but unstyled when deployed on GH pages #7773
-
Hi, Note that I set my pages on gh-pages branch and /docs repository. I have tried to use /root but then my site is basically an html verison of my README.md file. mkdocs creates a /site directory. How do I get it to be the one published? From the action job itself, it seems like everything is happening as it should:
If anyone has any idea about what is happening, this would be greatly appreciated. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello @gtauzin, The workflow pushes changes to the |
Beta Was this translation helpful? Give feedback.
Hello @gtauzin,
your current website looks like it was created using Jekyll, so it seems you've selected the
main
branch with/docs
directory as the source.It should use the
gh-pages
branch and/
root directory.The workflow pushes changes to the
gh-pages
branchThen GitHub per the configuration should detect changes and run another action, and in your case it run a Jekyll build: