This should be useful as a zero-dependency binary from which any project can use to upload static assets to an s3 bucket.
Usage
To be able to use this binary in deployment pipelines rather than write custom implementations like buffer-web's upload_assets. An example for using this might be:
Which would upload all the files from those directories relative to the marketing directory in the static.buffer.com bucket. It would then output a JSON file called staticAssetVersions.json with all of the asset paths found and their corresponding md5 hash versions.
The AWS key and secrets would be set as environment variables.
Purpose
This should be useful as a zero-dependency binary from which any project can use to upload static assets to an s3 bucket.
Usage
To be able to use this binary in deployment pipelines rather than write custom implementations like buffer-web's
upload_assets
. An example for using this might be:Which would upload all the files from those directories relative to the marketing directory in the
static.buffer.com
bucket. It would then output a JSON file calledstaticAssetVersions.json
with all of the asset paths found and their correspondingmd5
hash versions.The AWS key and secrets would be set as environment variables.