This repository contains tools and scripts to export your Godot games. We provide configuration templates for two continuous integration services (TravisCI and AppVeyor). Both can be used to automatically export your games whenever you push or create a tag in your GitHub repositories. You can also use the provided Docker image by itself.
Use this Dockerfile to automatically export your game. Choose the Godot version you
want to use as the Docker image tag (e.g., 3.0.2 as shown below). Supported Godot
versions can be found here.
If your version is not available, please open an issue in this repository.
Make sure that you have created an export_presets.cfg
file with all necessary export templates as
described in the Godot documentation.
Set EXPORT_NAME
to your template's name and OUTPUT_FILENAME
accordingly.
Add two volumes, one from your repository to /build/src
and another to
/build/output
where the product will be stored.
E.g. inside your game's main folder (find the product in /tmp/output
):
docker run \
-e EXPORT_NAME="HTML5" \
-e OUTPUT_FILENAME="index.html" \
-v $(pwd):/build/src -v /tmp/output:/build/output gamedrivendesign/godot-export:3.0.2
We provide a fairly well documented template .travis.yml
file
for you to copy into your own repository. The build is using
the docker image also provided in here. The TravisCI configuration
supports:
- Exporting the Linux/Windows/Mac versions of the game whenever a git tag is created and adding them to the GitHub Releases.
- Exporting the HTML5 version of the game and pushing it to GitHub Pages.
We provide a fairly well documented template appveyor.yml
file
for you to copy into your own repository. The AppVeyor configuration
supports:
- Exporting the Linux/Windows/Mac versions of the game whenever a git tag is created and adding them to the GitHub Releases.
It does not support pushing to GitHub Pages.
If you have any issues, comments or improvements, feel free to open a pull request or an issue!