@monim67/s3-sync-deploy-action
v0.1.2
Published
AWS CDK Codepipeline Action construct to deploy website to s3 deleting old files
Downloads
4
Readme
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,
});