Exported reverting into old project?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By toshnewton

I downloaded a Godot project awhile ago and I have been improving and making it all my own. When I run it in Godot everything is fine and MY work plays. I tried to export the project to HTML and host it on Github pages but somehow when it runs there it reverts back to the original project and does not use all my work.

Has anyone encountered this?

I’ve never had any trouble hosting on itch.io. Maybe it’s an issue with GitHub?

exuin | 2021-04-28 03:08

Did you definitely configured the main scene correctly? What happens if you press F5 in the editor? Have you tried to remove the old build before building a new one?

Mak | 2021-04-28 15:34

:bust_in_silhouette: Reply From: timothybrentwood

Before following these steps check your GitHub pages website to make sure the problem is still there.

  1. From Godot export the project as HTML to a brand new empty local folder. (Make sure you export it as index.html since you intend to use the GitHub pages feature.)
  2. Delete every file from the GitHub repository and commit those changes.
  3. With the repository now empty, upload the newly exported files from your local folder to GitHub and commit that change. Note it takes some time for the changes to take effect on the GitHub servers ~5 minutes or so.

If the problem persists after following those steps there could be a bug in the export process for HTML, which you can notify the Godot developers of on GitHub.