LF / butler-push-action

GitHub Action to push builds to itch.io using butler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

butler push action

Pushes a local directory to itch.io using butler.

Usage

name: my-workflow

on: push

jobs:
  push:
    runs-on: ubuntu-latest
    container: lfdev/butler:latest
    steps:
      - uses: LF/butler-login-action@v1
        with:
          credentials: ${{ secrets.BUTLER_API_KEY }}
      - uses: LF/butler-push-action@v1
        with:
          path: /path/to/export
          target: user/project:channel

While the image lfdev/butler from Docker Hub is used in this example, this action should work in environments where butler is installed in the runner's PATH.

This example also uses LF/butler-login-action to authenticate butler. If your runner environment handles authentication in a different way, you can omit or change that step.

About

GitHub Action to push builds to itch.io using butler

License:MIT License