From 49461db7c7f0bb605684aa6d7277f2e4cd682e54 Mon Sep 17 00:00:00 2001 From: blinry Date: Mon, 2 Nov 2020 18:42:07 +0100 Subject: [PATCH] CI: Deploy to itch.io --- .github/workflows/build.yml | 37 ++++++++++++++++++++++++++++--------- 1 file changed, 28 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f246371..295ee92 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,16 +22,35 @@ jobs: run: | mkdir -p ~/.local/share/godot/templates mv /root/.local/share/godot/templates/$GODOT_VERSION.stable ~/.local/share/godot/templates/$GODOT_VERSION.stable - - name: Linux Build + - name: Build Linux run: make linux - - name: MacOS Build + - name: Build macOS run: make macos + - name: Build Windows + run: make windows - name: Clean up run: make clean-unzipped - - name: Deploy - uses: JamesIves/github-pages-deploy-action@3.6.2 - with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - BRANCH: gh-pages - FOLDER: build - CLEAN: true + - name: Deploy Linux + uses: josephbmanley/butler-publish-itchio-action@v1.0.2 + env: + BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }} + CHANNEL: linux + ITCH_GAME: ${{ env.PROJECT_NAME }} + ITCH_USER: blinry + PACKAGE: build/${{ env.PROJECT_NAME }}-linux.zip + - name: Deploy macOS + uses: josephbmanley/butler-publish-itchio-action@v1.0.2 + env: + BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }} + CHANNEL: osx + ITCH_GAME: ${{ env.PROJECT_NAME }} + ITCH_USER: blinry + PACKAGE: build/${{ env.PROJECT_NAME }}-macos.zip + - name: Deploy Windows + uses: josephbmanley/butler-publish-itchio-action@v1.0.2 + env: + BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }} + CHANNEL: windows + ITCH_GAME: ${{ env.PROJECT_NAME }} + ITCH_USER: blinry + PACKAGE: build/${{ env.PROJECT_NAME }}-windows.zip