CI: Deploy to itch.io

This commit is contained in:
blinry 2020-11-02 18:42:07 +01:00
parent 3a3baa54fa
commit 49461db7c7

View file

@ -22,16 +22,35 @@ jobs:
run: | run: |
mkdir -p ~/.local/share/godot/templates mkdir -p ~/.local/share/godot/templates
mv /root/.local/share/godot/templates/$GODOT_VERSION.stable ~/.local/share/godot/templates/$GODOT_VERSION.stable 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 run: make linux
- name: MacOS Build - name: Build macOS
run: make macos run: make macos
- name: Build Windows
run: make windows
- name: Clean up - name: Clean up
run: make clean-unzipped run: make clean-unzipped
- name: Deploy - name: Deploy Linux
uses: JamesIves/github-pages-deploy-action@3.6.2 uses: josephbmanley/butler-publish-itchio-action@v1.0.2
with: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
BRANCH: gh-pages CHANNEL: linux
FOLDER: build ITCH_GAME: ${{ env.PROJECT_NAME }}
CLEAN: true 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