Skip to content
This repository was archived by the owner on Jan 18, 2025. It is now read-only.

Commit 2fb81a9

Browse files
committed
Avoid whitespace issues in args with sh -c
1 parent 852d7b1 commit 2fb81a9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LABEL "com.github.actions.description"="Sync a directory to an AWS S3 repository
55
LABEL "com.github.actions.icon"="refresh-cw"
66
LABEL "com.github.actions.color"="green"
77

8-
LABEL version="0.3.0"
8+
LABEL version="0.3.1"
99
LABEL repository="https://github.com/jakejarvis/s3-sync-action"
1010
LABEL homepage="https://jarv.is/"
1111
LABEL maintainer="Jake Jarvis <[email protected]>"

entrypoint.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ EOF
3939

4040
# Use our dedicated profile and suppress verbose messages.
4141
# All other flags are optional via `args:` directive.
42-
aws s3 sync ${SOURCE_DIR} s3://${AWS_S3_BUCKET} \
43-
--profile s3-sync-action \
44-
--no-progress $*
42+
sh -c "aws s3 sync ${SOURCE_DIR} s3://${AWS_S3_BUCKET} \
43+
--profile s3-sync-action \
44+
--no-progress $*"

0 commit comments

Comments
 (0)