-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (32 loc) · 1.09 KB
/
deploy_on_itch.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: deploy on itch
on:
push:
branches: [ "main" ]
workflow_dispatch:
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: create out directory
run: mkdir out
- 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: ./
use_preset_export_path: true # This should be ./out/index.html for the web release
- name: zip game
uses: TheDoctor0/[email protected]
with:
filename: web.zip
path: .
directory: ./out/
- name: upload game to Itch.io
uses: robpc/[email protected]
with:
path: ./out/web.zip
project: acagamics/acagame
channel: web
api-key: ${{secrets.ITCH_API_KEY}}