From c65546ad82bd420e5fad33251b254b7a03610188 Mon Sep 17 00:00:00 2001 From: Arswarog Date: Tue, 16 Jun 2026 14:11:53 +0300 Subject: [PATCH] wip --- action.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/action.yml b/action.yml index dbc9de4..d35dc15 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: 'Additional 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="${S3_PATH}/${PREFIX}" + fi + echo "TARGET_URL=$URL" >> $GITHUB_ENV echo "S3_PATH=$S3_PATH" >> $GITHUB_ENV