Skip to content

Update deploy_on_itch.yml #3

Update deploy_on_itch.yml

Update deploy_on_itch.yml #3

name: deploy on itch
on:
push:
branches: [ "main" ]
workflow_dispatch:
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: export game
uses: firebelley/[email protected]
with:
godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/4.2.1/Godot_v4.2.1-stable_linux.x86_64.zip
godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/4.2.1/Godot_v4.2.1-stable_export_templates.tpz
relative_project_path: ./
- name: zip game
uses: TheDoctor0/[email protected]
with:
filename: web.zip
path: .
directory: ./docs/
- name: upload game to Itch.io
uses: robpc/[email protected]
with:
path: ./docs/web.zip
project: acagamics/acagame
channel: web
api-key: ${{secrets.ITCH_API_KEY}}