0

I a have Vue.js (webpack) project running on my Github pages. The problem is Github pages do not display the recent commit, Instead, it only displays the initial commit's content. what I'm doing is:

$ git commit -m "update"
$ git push origin master

then:

$ git checkout gh-pages
$ git rebase master
$ git push origin gh-pages

I see that the branches gets updates, but no content will be changed on my page.

I even tried deleting the gh-branch and recreate it again but it didn't solve the problem. I even deleted the browser cache.
Note that when I'm running the dist folder locally everything is ok.

here is the link to the repo.

I sincerely appreciate any help.

Mohammad Siavashi
  • 1,192
  • 2
  • 17
  • 48
  • Possible duplicate of [Problem is my GitHub page do not update its content](https://stackoverflow.com/questions/24713112/problem-is-my-github-page-do-not-update-its-content) – R4444 Jul 25 '19 at 17:17
  • I tried all the suggested solutions. none of them worked for me. @Ruturaj – Mohammad Siavashi Jul 25 '19 at 17:19
  • I see you have three `index.html` in your repo. Are you sure that you are updating the correct `index.html` here: https://github.com/Msiavashi/wallthereum/blob/gh-pages/index.html? Maybe you are only updating the `index.html` in the `dist` folder? https://github.com/Msiavashi/wallthereum/blob/gh-pages/dist/index.html – Kin Jul 27 '19 at 05:37
  • @Kin isn't github serve the dist folder? however both dist, and source are changed when i run them localy. – Mohammad Siavashi Jul 28 '19 at 19:16
  • @Mohammad Siavashi I am unfamiliar with the `dist` folder, so I am not sure. Regardless, seems like changing the source `index.html` doesn't help unblock you. – Kin Jul 29 '19 at 01:22

0 Answers0