10 Commits

Author SHA1 Message Date
eed59bf1db Update Dockerfile 2024-04-01 15:35:16 +02:00
83ce22b4f5 Merge pull request #9 from leereilly/patch-1
Fix typo in README
2022-06-20 12:44:17 -04:00
Lee Reilly
fd5d4c2fa4 Update ReadMe.md 2022-06-10 10:35:01 -07:00
ab302bc769 Update ReadMe.md 2022-04-27 01:58:14 -04:00
cb6573e42b Update Dockerfile 2022-01-31 17:11:59 -05:00
49e6220958 Merge pull request #4 from skarnl/feature/fix-butler-download-url
Fix butler download url
2020-06-11 11:13:56 -04:00
53fdf15e50 Merge pull request #3 from skarnl/feature/move-butler-credentials
Store Butler credentials in env-var
2020-06-11 11:03:37 -04:00
Oskar van Velden
dea5c0fee7 Move BUTLER_CREDENTIALS to BUTLER_API_KEY 2020-06-11 16:25:38 +02:00
Oskar van Velden
b1f7d404eb Install unzip 2020-06-11 09:22:48 +02:00
Oskar van Velden
429eea9b6d FIx issue with old Butler download
There was an old reference to the Butler download.
Also fixed
2020-06-11 00:46:26 +02:00
4 changed files with 13 additions and 11 deletions

View File

@@ -1,16 +1,19 @@
FROM centos:8 FROM rockylinux:8
LABEL "com.github.actions.name"="Butler Push" LABEL "com.github.actions.name"="Butler Push"
LABEL "com.github.actions.description"="Publishes releases to Itch.io using Butler" LABEL "com.github.actions.description"="Publishes releases to Itch.io using Butler"
LABEL "com.github.actions.icon"="upload" LABEL "com.github.actions.icon"="upload"
LABEL "com.github.actions.color"="white" LABEL "com.github.actions.color"="white"
RUN dnf install unzip -y
# Install Butler # Install Butler
ADD https://dl.itch.ovh/butler/linux-amd64/head/butler /usr/bin/ RUN curl -L -o butler.zip https://broth.itch.zone/butler/linux-amd64/LATEST/archive/default \
RUN chmod +x /usr/bin/butler && unzip butler.zip \
RUN butler upgrade --assume-yes && cp butler /usr/bin \
&& chmod +x /usr/bin/butler
# Run butler push # Run butler push
ADD entrypoint.sh /entrypoint.sh COPY entrypoint.sh /entrypoint.sh
RUN chmod +x entrypoint.sh RUN chmod +x entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]

View File

@@ -1,6 +1,6 @@
# Butler Push # Butler Push
This action pushes packages to itch.io with butler to easily automated releases. This action pushes packages to itch.io with butler to easily automate releases.
## Usage ## Usage
@@ -10,7 +10,7 @@ Example:
```yaml ```yaml
steps: steps:
- uses: josephbmanley/butler-publish-itchio-action@master - uses: yeslayla/butler-publish-itchio-action@master
env: env:
BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }} BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
CHANNEL: windows CHANNEL: windows

View File

@@ -1,9 +1,9 @@
name: "Butler Push" name: "Butler Push"
description: "Publish releases to Itch.io using Butler" description: "Publish releases to Itch.io using Butler"
author: josephbmanley author: yeslayla
runs: runs:
using: docker using: docker
image: Dockerfile image: Dockerfile
branding: branding:
icon: upload icon: upload
color: white color: white

View File

@@ -1,8 +1,7 @@
#!/bin/sh #!/bin/sh
set -e set -e
mkdir -p ~/.config/itch export BUTLER_API_KEY=$BUTLER_CREDENTIALS
echo $BUTLER_CREDENTIALS > ~/.config/itch/butler_creds
versionArgument="" versionArgument=""