This commit is contained in:
2026-06-16 14:11:53 +03:00
parent f8f100633f
commit 2fbf182e24
+8
View File
@@ -8,6 +8,9 @@ inputs:
on-broken-links: on-broken-links:
description: 'Behavior on broken links: throw, warn, or ignore' description: 'Behavior on broken links: throw, warn, or ignore'
default: 'throw' default: 'throw'
prefix:
description: 'Additional prefix for S3 path'
default: ''
runs: runs:
using: 'composite' using: 'composite'
@@ -27,6 +30,11 @@ runs:
S3_PATH="${ORG}.${REPO}.${REF}" S3_PATH="${ORG}.${REPO}.${REF}"
fi fi
PREFIX="${{ inputs.prefix }}"
if [[ -n "$PREFIX" ]]; then
S3_PATH="${S3_PATH}/${PREFIX}"
fi
echo "TARGET_URL=$URL" >> $GITHUB_ENV echo "TARGET_URL=$URL" >> $GITHUB_ENV
echo "S3_PATH=$S3_PATH" >> $GITHUB_ENV echo "S3_PATH=$S3_PATH" >> $GITHUB_ENV