- Read the GitHub pages documentation
- Add a CNAME record
<user>.github.io
with your subdomain to your domain DNS - Fork the repo
- Change the line 4 in the
deploy.sh
file according to your repository address
git remote add origin git@github.com:YourGitHubAccount/touchme.git
- Change the contents of
public/CNAME
file to match the subdomain you want the app to be accessible at - Run
pnpm run build
to build the app todist/
folder - Run
pnpm run deploy
to upload the built site to thegh-pages
branch of your repo - Go to your repository settings and configure the GitHub pages.
- Enjoy your self-hosted version of the interactive playground.