Skip to content

hun9282/easy-s3-upload-github-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Easy S3 uploader for Github Actions.

You can upload files or directories to any S3 compatible cloud buckets.

Usage

See the following example.

# inside .github/workflows/action.yml
name: Add File to Bucket
on: push

jobs:
  deploy:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@master

      - name: Upload file to bucket
        uses: axazara/easy-s3-upload-github-action@main
        env:
          FILE: ./releases/
          S3_ENDPOINT: 'xxxx.r2.cloudflarestorage.com/xxxx'
          S3_BUCKET: ${{ secrets.S3_BUCKET }}
          S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
          S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
          S3_DESTINATION: 'releases/filename'
          S3_ACL: 'public-read'
          S3_PREFIX: 'releases/'

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 73.3%
  • Dockerfile 25.0%
  • Shell 1.7%