How do I update my Hugo site locally and make sure that the live site (hosted on GitHub pages) reflect the changes?

853 Views Asked by At

Let me start by saying that I'm very new to this. I have little to no technical background, so this might just be a simple problem, or I did something I shouldn't have done. It's my first time using the command line and dealing with static pages.

I recently deployed my Hugo site to GitHub pages. I only changed the configuration file, and that's it. (I followed this and this.)

The site is now live at https://USERNAME.github.io/. It's still showing the content of my chosen theme.

A few hours after deploying, I edited some of the local markdown files and pushed the changes. However, the changes aren't reflected on the site.

Now that I realize it, GitHub only displays my site's "public" folder and not all of the files in my local folder.

So, my question is, how can I change and update my site content locally and make sure that the changes are shown on the live site?

Any help is appreciated. Thanks so much!

0

There are 0 best solutions below