Skip to content

1. Continuous integration (via GitHub Actions)

Davide Cristini edited this page Sep 24, 2023 · 1 revision

Godot Game Template triggers automatic build process for each new commit made on the main branch.

It will be enabled by default if you created a project following the instructions in the readme.

Continuous Integration is achieved thanks to:

Where to find the builds

1️⃣ Open the Actions tab from your repo.

Actions tab

2️⃣ Select a commit from this list.

Screenshot from 2020-12-05 18-31-10

3️⃣ Download the builds.

Screenshot from 2020-12-05 18-37-17

Automatic itch.io deploy

1️⃣ Open the Settings tab in your repo 1

2️⃣ Open the secrets tab 2

3️⃣ Set up three secrets: BUTLER_CREDENTIALS (with your itch.io api key), ITCH_GAME (with your game name), ITCH_USER (with your itch.io username) 3

4️⃣ Open godot-game-template/.github/workflows/push-export.yml 4

5️⃣ Change itch.io to true in line 11

6️⃣ Enjoy automatic itch.io export! Here a video tutorial

TUTORIAL.mp4

Android release export

1️⃣ Open the Settings tab in your repo

2️⃣ Open the secrets tab

3️⃣ Set up three secrets: K8S_SECRET_RELEASE_KEYSTORE_BASE64 ( with the base64 version of the release key), K8S_SECRET_RELEASE_USER (with the user of your key) K8S_SECRET_RELEASE_PASSWORD (with the password of your key)

4️⃣ Open godot-game-template/.github/workflows/push-export.yml

5️⃣ Change release android to true in line 12

6️⃣ Enjoy automatic android release export!

Disable CI

Delete .github/workflows/push-export.yml or move it to another folder.

You can create a disabled folder and move push-export.yml into it: .github/workflows/disabled/push-export.yml

Trigger builds with Dispatch

You can use Dispatch Export to trigger builds with custom parameters.

1️⃣ Open the Actions tab from your repo.

Actions tab

2️⃣ In the left menu, click Dispatch Export.

dispatch export section

3️⃣ Click the "Run workflow" button on the right hand side.

4️⃣ Setup your run parameters and click "Run workflow" to build.

run workflow menu