-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
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:
$ buffer-static-upload -files "./public/js/**/*.js,./public/*.css" -dir "marketing"
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels