diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index cb808c2..198bf1b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -32,10 +32,12 @@ jobs: mkdir -p $GITHUB_WORKSPACE/web-dist renpy-launcher web_build $GITHUB_WORKSPACE --destination $GITHUB_WORKSPACE/web-dist - - name: Deploy to Itch.io via Butler - run: | - curl -L https://broth.itch.ovh/butler/linux-amd64/LATEST/archive/default -o butler.zip - unzip butler.zip - ./butler push $GITHUB_WORKSPACE/web-dist dynamitos/visual-novel:html5 - env: - BUTLER_API_KEY: ${{ secrets.BUTLER_API_KEY }} \ No newline at end of file + - name: Deploy to Itch.io via Butler Action + uses: Ayowel/butler-to-itch@v1 + with: + butler_key: ${{ secrets.BUTLER_API_KEY }} + itch_user: 'dynamitos' + itch_game: 'visual-novel' + # Pushes to the web channel automatically + files: | + $GITHUB_WORKSPACE/web-dist -> html5 \ No newline at end of file