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.description"="Publishes releases to Itch.io using Butler"
LABEL "com.github.actions.icon"="upload"
LABEL "com.github.actions.color"="white"
RUN dnf install unzip -y
# Install Butler
ADD https://dl.itch.ovh/butler/linux-amd64/head/butler /usr/bin/
RUN chmod +x /usr/bin/butler
RUN butler upgrade --assume-yes
RUN curl -L -o butler.zip https://broth.itch.zone/butler/linux-amd64/LATEST/archive/default \
&& unzip butler.zip \
&& cp butler /usr/bin \
&& chmod +x /usr/bin/butler
# Run butler push
ADD entrypoint.sh /entrypoint.sh
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

View File

@@ -1,6 +1,6 @@
# 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
@@ -10,7 +10,7 @@ Example:
```yaml
steps:
- uses: josephbmanley/butler-publish-itchio-action@master
- uses: yeslayla/butler-publish-itchio-action@master
env:
BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
CHANNEL: windows

View File

@@ -1,6 +1,6 @@
name: "Butler Push"
description: "Publish releases to Itch.io using Butler"
author: josephbmanley
author: yeslayla
runs:
using: docker
image: Dockerfile

View File

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