Changes are not being deployed

Hello all,

I have been trying to update my website that is hosted on GitHub Pages, but when I pushed my update a few days ago, there was no change on the site.

I can clearly see that the change has been pushed to my repository, but nothing has changed on the actual website. The changes, by the way, were to the title of the page in public->index.html, and the modification of a link in src->components->carousel.js.

If anyone can help me with this issue, I’d really appreciate it!


Hi @VivekJadeja, welcome to the GitHub Support Communtiy!

Can you drop a link to your repository so we can take a look at what’s going on?

Yes! Here is the link to the repository in which I am having this issue:

This is for the website that I am hosting on GitHub Pages, as stated above.

Thanks for posting the link! It looks like you’ve already managed to figure it out but just to leave the answer here for any others that end up in a similar situation:

It looks like your project uses a build and deploy step that’s defined in your package.json file.

I believe that the issue you were seeing was because you pushed the changes you made to the master branch of your repository but didn’t run this deploy step after, meaning the built version of your site wasn’t pushed to your gh-pages branch that serves your site’s code. To make sure this doesn’t happen again in future you’ll need to run npm run deploy after pushing the latest changes to your master branch.