Compare commits
1 Commits
74dc67e1b9
...
bf568eb3a7
| Author | SHA1 | Date | |
|---|---|---|---|
| bf568eb3a7 |
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user