Drone plugins > AWS S3 Sync
AWS S3 Sync
by drone-plugins
The S3 sync synchronizes files and build artifacts to your S3 bucket.
Example
kind: pipeline
name: default
steps:
- name: sync
image: plugins/s3-sync:1
settings:
access_key: a50d28f4dd477bc184fbd10b376de753
secret_key: bc5785d3ece6a9cdefa42eb99b58986f9095ff1c
region: us-east-1
bucket: my-bucket.s3-website-us-east-1.amazonaws.com
source: folder/to/archive
target: /target/location
Properties
access_key
stringoptionalAWS access key.
Secret recommendedDefault: none
secret_key
stringoptionalAWS secret key.
Secret recommendedDefault: none
bucket
stringrequiredS3 bucket name.
Default: none
region
stringoptionalS3 region.
Default: us-east-1
source
stringoptionalSource folder to archive.
Default: .
target
stringoptionalTarget location.
Default: /
delete
booleanoptionalDelete files after sync.
Default: false
acl
stringoptionalACL for files.
Default: none
content_type
stringoptionalContent type for files.
Default: none
content_encoding
stringoptionalContent encoding for files.
Default: none
cache_control
stringoptionalCache control for files.
Default: none
metadata
stringoptionalAdditional Metadata for files.
Default: none
redirects
stringoptionalRedirects to create.
Default: none
cloudfront_distribution
stringoptionalCloudfront distribution ID.
Default: none
dry_run
booleanoptionalDry run.
Default: false