Use S3cmd
This is a simple wrapper for S3cmd. Defaults are for Linode
object storage. To use with a different s3 provider, set the appropriate flags.
- name: Set up S3cmd cli tool
uses: s3-actions/s3cmd@v0
with:
cluster: 'eu-central-1'
access_key: ${{ secrets.S3_ACCESS_KEY }}
secret_key: ${{ secrets.S3_SECRET_KEY }}
- name: Interact with object storage
run: |
echo 'foo' >> bar
s3cmd put bar s3://foobarbaz