https://github.com/m-k-l-s/godot-web-export-template
Automatically build and deploy Godot games to Netlify.
https://github.com/m-k-l-s/godot-web-export-template
export godot netlify template
Last synced: 3 months ago
JSON representation
Automatically build and deploy Godot games to Netlify.
- Host: GitHub
- URL: https://github.com/m-k-l-s/godot-web-export-template
- Owner: m-k-l-s
- License: mit
- Created: 2023-12-19T13:47:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-19T15:06:58.000Z (over 1 year ago)
- Last Synced: 2025-02-20T18:17:24.409Z (3 months ago)
- Topics: export, godot, netlify, template
- Language: GDScript
- Homepage: https://godot-web-export-template.netlify.app
- Size: 7.53 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Godot Web Export Template
[](https://app.netlify.com/sites/godot-web-export-template/deploys)
Automatically deploys your game builds to Web using Netlify.
Uses 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`
## GitHub setup
Choose `Read and write permissions` for Actions in [Settings → Actions](../../settings/actions).
## Netlify setup
1. Import your GitHub repository to Netlify:
2. Use the `gh-pages` branch to deploy.
3. Optionally, configure a custom domain (e.g., ): `https://app.netlify.com/sites//configuration/general`
4. Optionally, add a status badge (from the same config page) to [README.md](README.md) (replace the `Netlify Status` above).## Quick tunnel share
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](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/downloads/)
and download [serve.py](https://raw.githubusercontent.com/godotengine/godot/master/platform/web/serve.py) from the Godot repository:```bash
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:
```bash
python build/serve.py -n -r web
```and in another terminal:
```bash
cloudflared tunnel --url 0.0.0.0:8060
```