andrewdex/S3 Deploy Github Action

Deploy a directory to an S3 bucket using the AWS CLI.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
AWS_S3_BUCKETS3 bucket nameyes
SOURCE_DIRSource directory to uploadno.
AWS_REGIONAWS regionnous-east-1
AWS_ACCESS_KEY_IDAWS access key IDyes
AWS_SECRET_ACCESS_KEYAWS secret access keyyes
CLOUDFRONT_DISTRIBUTION_IDCloudFront distribution ID for cache invalidationno
AWS_S3_PREFIXOptional prefix for the S3 bucketno
AWS_S3_ENDPOINTOptional endpoint URL for the S3 bucketno
AWS_S3_ACLOptional ACL for uploaded files (e.g., public-read). Only use if ACLs are enabled on your bucket.no
DELETE_REMOVEDIf true, delete files from S3 that don't exist in the source directorynofalse
namedescription
s3_urlThe S3 URL where files were deployed
cloudfront_invalidation_idThe CloudFront invalidation ID (only set if CLOUDFRONT_DISTRIBUTION_ID is provided)