0.6.0 • Published 7 months ago

@umbrellio/ucdn v0.6.0

Weekly downloads
7
License
MIT
Repository
github
Last release
7 months ago

ucdn

Tool for uploading assets to AWS S3.

Installation

$ yarn global add @umbrellio/ucdn

or

$ npm i -g @umbrellio/ucdn

Usage

Upload

$ ucdn upload -c /path/to/config/file.yaml -C production

Options

All following options except config and config-key can be configured using the config file.

Available AWS regions can be viewed at https://docs.aws.amazon.com/sns/latest/dg/sns-supported-regions-countries.html.

--config, -c                            path to config file           [default: "./ucdn.yml"]
--config-key, -C                        root config key               [default: null]
--region, -r                            AWS geographical area         [default: "eu-west-1"]
--dir, -d                               assets directory              [default: "dist/"]
--bucket, -b                            AWS bucket for upload         [required]
--exclude, -e                           excluded extenstions          [default: ["html","gz"]]
--accessKeyId, --access-key-id          AWS access key ID             [required]
--secretAccessKey, --secret-access-key  AWS secret access key         [required]
--targetDir, --target-dir               AWS bucket target directory   [default: ""]

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/umbrellio/ucdn.

License

Released under MIT License.

Authors

Created by Aleksei Bespalov.

0.6.0

7 months ago

0.5.0

3 years ago

0.4.2

3 years ago

0.4.1

3 years ago

0.4.0

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.0

4 years ago

0.1.0

4 years ago