Skip to content

Project goals #1

@djfarrelly

Description

@djfarrelly

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions