Merge branch 'master' of github.com:bitDecayGames/GMTK2024 #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: AutoDeploy-Dev | ||
on: | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- 'Project.xml' | ||
- 'assets/**' | ||
- 'source/**' | ||
jobs: | ||
publish-html5-build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@master | ||
- name: Make html5 build | ||
uses: bitDecayGames/[email protected] | ||
with: | ||
buildArgs: -D API_KEY=${{ secrets.ANALYTICS_TOKEN }} -D dev_analytics | ||
initScriptFile: ./bin/init_deps.sh | ||
- name: Upload html5 zip artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: html5-build | ||
path: export/html5.zip | ||
retention-days: 7 | ||
- name: Publish html5 build to itch.io | ||
uses: bitDecayGames/[email protected] | ||
with: | ||
dir: export/html5.zip | ||
itchUserName: bitdecaygames | ||
itchGameName: ::game_name:: | ||
itchChannel: web-dev | ||
butlerApiKey: ${{ secrets.BUTLER_API_KEY }} |