Skip to content

Commit

Permalink
Add itch.io deploy step
Browse files Browse the repository at this point in the history
  • Loading branch information
lorgan3 committed Aug 12, 2024
1 parent 7e828b1 commit b98201a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- run: yarn test
- run: yarn build

- name: Deploy
- name: Deploy - GitHub pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
Expand All @@ -47,3 +47,13 @@ jobs:
destination_dir: ./sorcerers
external_repository: lorgan3/lorgan3.github.io
publish_branch: master

- name: Deploy - Itch.io
uses: KikimoraGames/itch-publish@v0.0.3
if: ${{ github.ref == 'refs/heads/main' }}
with:
butlerApiKey: ${{secrets.BUTLER_API_KEY}}
gameData: ./dist
itchUsername: lorgan3
itchGameId: sorcerers
buildChannel: HTML5 / Playable in browser

0 comments on commit b98201a

Please sign in to comment.