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: |
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue