Github pages acts like just html

when I run the jekyll page locally , it looks fine and every code is working including css/sass files. But when i try to make the same page deploy on github pages it acts like a basic html page.

it’s the repo I cant figure out what is the problem

i have a guess that autoprefixer is the troublemaker on github but i really need a solution i just get tired to try

GH only allows a small number of plugins, I don’t think autoprefixer is one of them. Try removing it from your config and anywhere else and see if that works.

You could also try to use a GH action to deploy your site as I think that way allows any plugins?

I don’t think auto prefixer is as important as it used to be, probably not many things that need a prefix for modern browsers now a days as I understand it.

1 Like

Thank you for your answer , I just created the site locally then delete every sass file then deploy it on repo branch with just css files and html files. Its not so resonable solution but it worked as we expected , I couldnt figure out what is the problem with sass files , there was nothing to break the code. But anyways solution is solution. Ty.

For our template site we created a GitHub actions to build the site and publish it. This way we can circumvent this limitation, since the deployed site is the one already built.

You can see here that we use a lot of plugins, and the result site is deployed here.

1 Like