scruffyfox / bitrise-amazon-s3-uploader

Bitrise Step to Deploy a file to Amazon S3
MIT License
1 stars 6 forks source link

Upload file to root of bucket #7

Open allie-VT opened 1 year ago

allie-VT commented 1 year ago

Hello! I need to upload a file to the root of my bucket, with no additional path or prefix added. I have not found a way to do this yet.

The description of the ‘Amazon S3 File Path In Bucket’ field mentions a default path if none is provided. I left it empty and my actual result was a ‘/’ prefix added to the bucket path, creating an additional ‘folder’ in my bucket:

Uploading file...
Completed 1.4 KiB/1.4 KiB (18.1 KiB/s) with 1 file(s) remaining
[REDACTED]: my-file to s3://my-bucket//my-file

Is there anyway to upload the file to the root of the bucket?

Thank you! Allie