# Github Actions Template For Raylib HTML5 Games
[](https://github.com/realtradam/raylib-template/blob/master/LICENSE)
[](https://ko-fi.com/tradam)
This template allows you to automatically build your game and then upload it to itch.io when you push to master.
### How modify for your use
1. Create a copy of this template.
2. Edit `.github/workflows/raylib-to-itch.yml`
- on line 57 you need to edit to use your username and game name
3. Add your Itch API key to:
- Settings > Secrets > Actions > New Repository Secret
- Name it `BUTLER_API_KEY`
4. 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.
### Demo
Here is the raylib "game" automatically created and pushed from this repo: https://tradam.itch.io/raylib-template-test?secret=BzB8ElHics20nzvYSQgqfaha2Q0