This template allows you to automatically build your game and then upload it to itch.io when you push to master.
- Create a copy of this template.
- Edit
.github/workflows/raylib-to-itch.yml
- on line 57 you need to edit to use your username and game name
- Add your Itch API key to:
- Settings > Secrets > Actions > New Repository Secret
- Name it
BUTLER_API_KEY
- Make sure to set a viewport size for your game on Itch.io
And that should be it, your game should automatically compile and upload to itch when you push to master.
Here is the raylib "game" automatically created and pushed from this repo: https://tradam.itch.io/raylib-template-test?secret=BzB8ElHics20nzvYSQgqfaha2Q0