Skip to content
chevron-right

GitHub Action

S3 CLI Action

v1.1.0 Latest version

S3 CLI Action

chevron-right

S3 CLI Action

CLI interface for interacting with an s3 compatible storage

Installation

Copy and paste the following snippet into your .yml file.

              

- name: S3 CLI Action

uses: BlazeIsClone/s3-cli-action@v1.1.0

Learn more about this action in BlazeIsClone/s3-cli-action

Choose a version

S3 CLI ACTION

GitHub action for interacting with an AWS S3 compatible bucket storage.

Usage

Use this action to interact with AWS Command Line Interface (AWS CLI). Usage guide AWS Command Line Interface.

Example usage

- name: Push Backups to S3 Bucket
  uses: maya-hive/s3-cli-action@v1.0.0
  with:
    args: "sync backups s3://new_bucket/new_object"
  env:
    AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
    AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
    AWS_S3_ENDPOINT: ${{ secrets.AWS_S3_ENDPOINT }}
    AWS_REGION: ${{ secrets.AWS_REGION }}