GitHub action to download files from Amazon S3
See action.yml
aws_access_key_id
: (Required) The AWS access key ID.aws_secret_access_key
: (Required) The AWS secret access key.aws_region
: (Required) The region to send service requests to.aws_bucket
: (Required) The bucket name containing the files to download.source
: The directory (or file path) on the bucket to which you want to download. Default is root directory.target
: The local directory (or file path) where files are saved. Default is current directory.
steps:
- uses: joutvhu/download-s3@v1
with:
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws_region: us-east-1
aws_bucket: ${{ secrets.AWS_BUCKET }}
source: ''
target: './backup'