mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-20 16:20:18 +01:00
CI: Deploy to itch.io
This commit is contained in:
parent
3a3baa54fa
commit
49461db7c7
1 changed files with 28 additions and 9 deletions
37
.github/workflows/build.yml
vendored
37
.github/workflows/build.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue