Skip to content

Add itch.io automated deployment #16

Add itch.io automated deployment

Add itch.io automated deployment #16

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "master" branch
push:
branches: [ "master", "itchio-integration" ]
pull_request:
branches: [ "master" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
env:
ITCH_USERNAME: guilhermegsousa
ITCH_GAME_ID: test-game
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
platform:
- html5
steps:
- uses: actions/checkout@v2
- uses: chickensoft-games/setup-godot@v2.1.1
with:
version: 4.3-beta3
include-templates: true
- name: Web Build
run: |
mkdir -v -p build/web
godot -v --export "Web" ./build/web/index.html
# - uses: KikimoraGames/itch-publish@v0.0.3
# with:
# butlerApiKey: ${{secrets.BUTLER_API_KEY}}
# gameData: ./build/${{ matrix.platform }}
# itchUsername: ${{env.ITCH_USERNAME}}
# itchGameId: ${{ env.ITCH_GAME_ID }}
# buildChannel: ${{ matrix.platform }}