This is a Godot project template with CI/CD integration to automate the export and upload of your game to itch.io. The project uses GitHub Actions to build and deploy your game for multiple platforms.
- Automated builds for Windows, Linux, and Web (HTML5) platforms.
- Continuous integration and deployment using GitHub Actions.
- Automatic upload of builds to itch.io.
-
Clone the repository:
git clone https://github.com/kristijandraca/godot-template.git cd godot-template
-
Open the project in Godot Engine.
-
Configure your export presets in
project.godot
.
This project uses GitHub Actions for CI/CD. The workflow is defined in .github/workflows/godot-ci.yml
.
GODOT_VERSION
: The version of Godot to use for the export.EXPORT_NAME
: The name of the exported game.PROJECT_PATH
: The path to the Godot project.ITCH_USERNAME
: Your itch.io username.ITCH_GAME_ID
: The ID of your game on itch.io.
BUTLER_API_KEY
: Your itch.io Butler API key. Add this to your repository secrets.
The workflow is triggered on every push to the main
branch. It performs the following steps:
- Checks out the repository.
- Sets up the Godot export templates.
- Builds the project for Windows, Linux, and Web.
- Uploads the build artifacts.
- Deploys the builds to itch.io using the Butler tool.
Contributions are welcome! Please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.