Has anyone published an HTML5 build to GitHub Pages successfully?

I’ve built a project and published it to balatro-fx 1.0
The original source is at https://github.com/prismglue/balatro-fx/docs/

It works fine if I host the same binaries on my own webserver, but publishing to GitHub Pages seems to mangle the wasm. Has anyone had a similar experience or know of any workarounds?

If you publish from Windows PC just add text file with name .gitattributes and one string inside:

* binary

to the archive folder of your project. After it you can make commit to GitHub.

5 Likes

That did the trick, thank you! Saved me another hour of fumbling around.

1 Like

Following up on this, I threw together a simple GitHub Action for building a Defold project to avoid committing binaries.

1 Like