s3-site-uploader
v1.0.9
Published
upload site to AWS S3
Readme
S3 Site Uploader
This library is intended to upload directory contents to AWS S3 bucket and invalidates CloudFlare cache.
Install
npm install -g s3-site-uploaderConfiguration
s3-site-uploader supports dotenv configuration which either takes AWS authentication info from environment variables:
ACCESS_KEY_ID - AWS Access Key
SECRET_ACCESS_KEY - AWS Secret Key
BUCKET_NAME - Name of S3 bucket to upload site to
DISTRIBUTION_ID - ID of CloudFlare distribution to invalidateor from .env properties file.
Run
Call application with a path to upload directory
s3-site-uploader /path/to/directory