How to Deploy Your Unity WebGL Build to GitHub Pages
Hey all!
Sorry for this rather long absence! Someday (soon, I hope!) I’ll write about what I’ve been doing all these months. In the meantime, I’m going to spread some good karma by telling you how to deploy your Unity WebGL project to Github Pages.
1.) Push the index.html, Template Data folder, and Release folder portions of your project to a GitHub repo. If you don’t know how to create a repo, instructions are here.
2.) Create a GitHub pages branch by typing “git checkout -b gh-pages” into the terminal (don’t use quotes!)
3.) Push your project to this new branch by typing “git push origin gh-pages” (again, without quotes)
4.) Your new project should be available at the link: http://yourusername.github.io/nameofproject















