jakejarvis/s3-sync-action

Using Args to exclude github files / readme (cloudfront)

Closed this issue · 2 comments

Hi,

i want to seek help about my args line for --acl public-read --delete --exclude '.git*/*'
i wonder if there's any args that i can use aside from --acl public-read, since cloudfront doesn't use ACL
it's failing to sync/upload the files.

image

my only way to resolve this by not touching my s3 bucket is to remove the args line and just uploading all the files away.

ok so i did just used the

--follow-symlinks --delete --exclude '.git*'

can i add more args

ok now i figured it out

--exclude 'SOURCE_DIR' --exclude 'MORE_SOURCE_DIR' --exclude 'MORE_SOURCE_DIR'
so the list goes on
thank you!