mirror of
https://github.com/thegeeklab/drone-s3-sync.git
synced 2024-11-22 11:10:39 +00:00
Update docs for cloudfront_distribution_id
This commit is contained in:
parent
c20b5f1b7a
commit
cc0f62a328
2
DOCS.md
2
DOCS.md
@ -11,6 +11,7 @@ Use the S3 sync plugin to synchronize files and folders with an Amazon S3 bucket
|
|||||||
* `content_type` - override default mime-types to use this value
|
* `content_type` - override default mime-types to use this value
|
||||||
* `metadata` - set custom metadata
|
* `metadata` - set custom metadata
|
||||||
* `redirects` - targets that should redirect elsewhere
|
* `redirects` - targets that should redirect elsewhere
|
||||||
|
* `cloudfront_distribution_id` - (optional) the cloudfront distribution id to invalidate after syncing
|
||||||
|
|
||||||
The following is a sample S3 configuration in your .drone.yml file:
|
The following is a sample S3 configuration in your .drone.yml file:
|
||||||
|
|
||||||
@ -25,6 +26,7 @@ publish:
|
|||||||
source: folder/to/archive
|
source: folder/to/archive
|
||||||
target: /target/location
|
target: /target/location
|
||||||
delete: true
|
delete: true
|
||||||
|
cloudfront_distribution_id: "9c5785d3ece6a9cdefa4"
|
||||||
```
|
```
|
||||||
|
|
||||||
Both `acl` and `content_type` can be passed as a string value to apply to all files, or as a map to apply to a subset of files.
|
Both `acl` and `content_type` can be passed as a string value to apply to all files, or as a map to apply to a subset of files.
|
||||||
|
Loading…
Reference in New Issue
Block a user