Add export presets #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: itch.io upload | |
# define what triggers the action | |
# in this case: on push if one of the files named in paths changes | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v3 | |
# change or remove according to your needs | |
- name: Create export directory | |
run: mkdir html5 | |
# exports the game in html mode | |
# more info here https://github.com/dulvui/godot-html-export | |
- name: Godot HTML5 export | |
uses: dulvui/godot-4-html-export@v0.0.2 | |
# uploads to itch.io | |
# more info here https://github.com/dulvui/itchio-butler-upload | |
- name: Upload to itch.io | |
uses: dulvui/itchio-butler-upload@v0.0.1 | |
with: | |
working-directory: html5 | |
api-key: ${{ secrets.ITCHIO_API_KEY }} | |
user: simondalvai | |
game: ball2box | |
channel: html5 |