summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/raylib-to-itch.yml
diff options
context:
space:
mode:
author_Tradam <[email protected]>2022-05-18 02:54:00 -0400
committerGitHub <[email protected]>2022-05-18 02:54:00 -0400
commit81ffb3f8109c40869c76c777d2fe09a19d559a5a (patch)
treec820561f43d0db6701dc46f4ba19361ce00c1cae /.github/workflows/raylib-to-itch.yml
parent66f5fb9a0c454ee6084dc0b39ee5d924f3d64896 (diff)
downloadraylib-template-81ffb3f8109c40869c76c777d2fe09a19d559a5a.tar.gz
raylib-template-81ffb3f8109c40869c76c777d2fe09a19d559a5a.zip
Update raylib-to-itch.yml
Diffstat (limited to '.github/workflows/raylib-to-itch.yml')
-rw-r--r--.github/workflows/raylib-to-itch.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/raylib-to-itch.yml b/.github/workflows/raylib-to-itch.yml
index 1fa94e9..4248e6f 100644
--- a/.github/workflows/raylib-to-itch.yml
+++ b/.github/workflows/raylib-to-itch.yml
@@ -42,4 +42,19 @@ jobs:
make web
cd output/web
zip game.zip index.*
+ # install itch butler
+ - name: install-butler
+ run: |
+ curl -L -o butler.zip https://broth.itch.ovh/butler/linux-amd64/LATEST/archive/default
+ unzip butler.zip
+ chmod +x butler
+ ./butler -V
# upload zip
+ - name: upload
+ env:
+ BUTLER_API_KEY: ${{ secrets.BUTLER_API_KEY }}
+ run: |
+ cd output/web
+ ./butler login
+ ./butler push game.zip tradam/raylib-template-test:html5
+ ./butler logout