Skip to content

mltframework/s3cmd-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.github/workflows/test.yml

GitHub Action: Run s3cmd With Arguments

This action simply runs s3cmd with all of the arguments supplied by you. See the s3cmd usage for more information about the arguments.

Example

Upload One File

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/

Upload Multiple Files By Wildcard

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/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published