Using GitHub Pages to publish your WebXR project for free
GitHub offers us a way to publish a free website for each project with a feature called GitHub Pages. The simplest way to do this is to have a docs
folder in your GitHub project such as the one we created in the previous recipe.
Figure 18.32: The published build via the free GitHub Pages service
Getting ready
This recipe makes use of the docs
folder you built in the previous recipe. This is the content you’ll be hosting for free with GitHub Pages in this recipe.
Since you’ll be creating and making changes to a GitHub project, you will need to have a working GitHub account. If you don’t already have such an account, you can create one for free here: https://github.com/join.
Note: GitHub projects are called “repositories,” often abbreviated to “repos.”
How to do it...
To use GitHub Pages to publish your WebXR project for free, perform...