Jonathan C Lee
Jonathan C Lee

Reputation: 225

jekyll website not updating on github pages

I recently played around with the Jekyll/Poole/Lanyon theme for a new blog. At first, I linked my domain jonathancharleslee.com to my github pages site at jonathancharleslee.github.io

When I update files locally, I can update site features and posts - however, when I push to github it won't update on jonathancharleslee.github.io

Any help is much appreciated.

Upvotes: 1

Views: 2070

Answers (2)

andimiya
andimiya

Reputation: 539

You should be working and making all your changes on the development branch, then pushing ONLY your built files to the master branch, which is what Github Pages will publish.

There's step-by-step instructions on how to do this in this posting: https://stackoverflow.com/a/44296933/7669275

Upvotes: 0

David Jacquel
David Jacquel

Reputation: 52829

You're on a user/organisation repository (username.github.io). This type of repository needs you to push in master branch, not in gh-pages.

See Github Pages doc

Upvotes: 1

Related Questions