devopspolis/Deploy artifact to AWS S3

Upload GitHub Actions artifacts to AWS S3 with optional extraction, support for ZIP, TAR, and prefix targeting.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Jul 30, 2025
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: devopspolis/deploy-artifact-to-aws-s3@3e75b91c48d068e75e396d50af08cfc2841d983c # v0.7.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
artifactName of the artifact to deploy (source)yes
pathFilename of the artifact within the download directoryyes
scriptOptional shell script to execute before uploading to S3no
working-directoryDirectory to execute the script in (default '.')no.
bucketAWS S3 Bucket name (optionally with prefix: bucket-name/path/to/dir)yes
aws-regionAWS regionno
deleteDelete files not in source artifactfalse
extract-artifactIf true, extracts the archive and uploads contents. If false, uploads archive as-is true
tagsBucket tags (e.g. version=v1.2.0,environment=qa)no""
roleIAM role to assume (optional)no
namedescription
bucket_arnThe AWS S3 bucket ARN
uploaded_uriFull S3 URI to the uploaded file or folder
integrity_hashMD5 hash of uploaded contents (for integrity verification)
file_countNumber of files uploaded (for extracted archives)
upload_sizeTotal size of uploaded content in bytes