This action simply runs s3cmd with all of the arguments supplied by you. See the s3cmd usage for more information about the arguments.
Use >-
to pass a multi-line string.
uses: mltframework/s3cmd-action@v0
with:
args: >-
--access_key=${{ secrets.AWS_ACCESS_KEY }}
--secret_key=${{ secrets.AWS_SECRET_KEY }}
--acl-public
--stop-on-error
put
local-file
s3://bucket/prefix/
uses: mltframework/s3cmd-action@v0
with:
args: >-
--access_key=${{ secrets.AWS_ACCESS_KEY }}
--secret_key=${{ secrets.AWS_SECRET_KEY }}
--acl-public
--stop-on-error
put
/tmp/*.zip
s3://bucket/prefix/