UNPKG

ci-scripts

Version:

Useful scripts to execute from your CI runner. For example, post to Slack and GitHub when your build completes:

16 lines (10 loc) 564 B
### `s3-upload` Command Uploads a folder and all its files recursively to a destination in a S3 bucket. - `--accessKeyId` — optional, AWS access key id. - `--secretAccessKey` — optional, AWS secrekt key. - `--src` — optional, source folder to upload, defaults to `dist/`. - `--bucket` — required, S3 bucket name. - `--dest` — optional, S3 destination path, defaults to '""'. - `--acl` — optional, access rights to all uploaded objects. - `--delete` — optional, whether to delete old files on S3, defaults to `false`.