Theme renders on localhost, but not on Github Pages site

Hi all,

I build my Hugo site in a local git repo called help-staging. When I’m ready, I build the site with hugo -d ../<production-repo>, and then push the changes in both repos to Github.

When I’m in my staging repo and run hugo server, the site is styled how I expect it to be.

When I go to my Github Pages site after uploading the changes, there is no styling. It’s just the basic HTML.

Any thoughts?

Edit: I see that the CSS files on my production site are empty. They exist, but have no content.

Final Edit: I was able to resolve this by updating the baseURL field in config.toml to be empty (""). My issue was that the GET requests for the CSS resources was “” which wasn’t a valid URL and would thus fail with a 404 error.