Skip to content
cloud

GitHub Action

AWS CLI

v1.70.0 Latest version

AWS CLI

cloud

AWS CLI

GitHub Action for AWS CLI

Installation

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

              

- name: AWS CLI

uses: ItsKarma/[email protected]

Learn more about this action in ItsKarma/aws-cli

Choose a version

aws-cli

Docker image for AWS CLI, also source for the AWS CLI GitHub Action.

Example Usage

- name: S3 Sync
  uses: ItsKarma/[email protected]
  with:
    args: s3 sync --delete --acl public-read localdir/ s3://remote-bucket/
  env:
    AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
    AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
    AWS_DEFAULT_REGION: "us-east-1"