Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 805 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 805 Bytes

s3-sync-deploy-action

S3SyncDeployAction is a drop in replacement for S3DeployAction AWS CDK toolkit Codepipeline Action to deploying artifacts to S3. S3SyncDeployAction deploys to S3 like aws sync --delete does. It syncs with S3 deleting any old non-existent file in artifact directory.

Installation

npm install @monim67/s3-sync-deploy-action

or

yarn add @monim67/s3-sync-deploy-action

Usage

Usage is similar to S3DeployAction.

import { S3SyncDeployAction } from "@monim67/s3-sync-deploy-action";

const deployAction = new S3SyncDeployAction({
  actionName: 'S3Deploy',
  bucket: targetBucket,
  input: sourceOutput,
});