From 0be189ea371cc744f1ed79175e505a5cd70561aa Mon Sep 17 00:00:00 2001 From: minoplhy Date: Thu, 15 Jun 2023 09:42:24 +0700 Subject: [PATCH] filters.sh : fix messed up --- Dockerfile | 1 - filters.sh | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ae27f70..20641db 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,6 @@ FROM python # Copies your code file from your action repository to the filesystem path `/` of the container COPY filters.sh /filters.sh -RUN pip install -r /filters-maker/requirements.txt RUN apt-get update && apt-get install -y git wget curl RUN wget -O gh https://github.com/cli/cli/releases/download/v2.30.0/gh_2.30.0_linux_amd64.deb RUN dpkg -i gh diff --git a/filters.sh b/filters.sh index 9ce2fe2..6b58e98 100644 --- a/filters.sh +++ b/filters.sh @@ -3,6 +3,7 @@ git clone https://github.com/minoplhy/filters-maker /filters-maker git clone https://x-access-token:$API_TOKEN_GITHUB@github.com/$INPUT_DESTINATION_UNAME/$INPUT_DESTINATION_REPO.git /repros mkdir /reprwiki mkdir /reprwiki/Private-build/ +pip install -r /filters-maker/requirements.txt cd /reprwiki python3 /repros/$INPUT_ACTION_FILE cd /repros