Automatically deploys your game builds to Web using Netlify.
Uses https://github.com/abarichello/godot-ci for CI.
On any push to main
, a new build will be deployed to Netlify and available at the site URL.
Current Godot version: 4.2.1
Choose Read and write permissions
for Actions in Settings → Actions.
- Import your GitHub repository to Netlify: https://app.netlify.com/start
- Use the
gh-pages
branch to deploy. - Optionally, configure a custom domain (e.g., https://godot-web-export-template.netlify.app/):
https://app.netlify.com/sites/<your-site>/configuration/general
- Optionally, add a status badge (from the same config page) to README.md (replace the
Netlify Status
above).
To quickly share your local build (without having to push to GitHub), you can use cloudflared
to create a tunnel to your local server.
If you're on Windows, you can use WSL to run the commands below.
Install cloudflared and download serve.py from the Godot repository:
wget https://raw.githubusercontent.com/godotengine/godot/master/platform/web/serve.py -P build
Then, assuming you have a local build in build/web
, run:
python build/serve.py -n -r web
and in another terminal:
cloudflared tunnel --url 0.0.0.0:8060