From bf568eb3a7ecf5e514e4f052cb61bae7abb4758e Mon Sep 17 00:00:00 2001 From: Arswarog Date: Tue, 16 Jun 2026 15:11:18 +0300 Subject: [PATCH] =?UTF-8?q?feat(action):=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BF=D0=B0=D1=80=D0=B0=D0=BC?= =?UTF-8?q?=D0=B5=D1=82=D1=80=D0=B0=20prefix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- action.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/action.yml b/action.yml index dbc9de4..754c25f 100644 --- a/action.yml +++ b/action.yml @@ -8,6 +8,9 @@ inputs: on-broken-links: description: 'Behavior on broken links: throw, warn, or ignore' default: 'throw' + prefix: + description: 'Prefix for S3 path' + default: '' runs: using: 'composite' @@ -27,6 +30,11 @@ runs: S3_PATH="${ORG}.${REPO}.${REF}" fi + PREFIX="${{ inputs.prefix }}" + if [[ -n "$PREFIX" ]]; then + S3_PATH="${PREFIX}/${S3_PATH}" + fi + echo "TARGET_URL=$URL" >> $GITHUB_ENV echo "S3_PATH=$S3_PATH" >> $GITHUB_ENV