Skip to content
Compare
Choose a tag to compare
@bluebrown bluebrown released this 07 Apr 01:49
· 25 commits to main since this release

Use S3cmd

Use S3cmd command line utility. Currently, LInode and AWS preconfigured provider.

- name: Set up S3cmd cli tool
  uses: s3-actions/s3cmd@v1.1
  with:
    provider: aws # default is linode
    region: 'eu-central-1'
    access_key: ${{ secrets.S3_ACCESS_KEY }}
    secret_key: ${{ secrets.S3_SECRET_KEY }}

- name: Interact with object storage
  run: |
    s3cmd sync --recursive --acl-public dist s3://awesome.blog
    s3cmd info s3://awesome.blog