/aws-site-deploy

Deploy a static site to AWS S3 and also creates a cloudfront invalidation

Primary LanguageTypeScript

aws-site-deploy

Deploy static site to AWS S3 and also creates a cloudfront invalidation. This CLI is meant to be used with sites that are deployed with Route53 -> CloudFront -> S3. It does not handle provisioning AWS resources for you.

oclif Version CircleCI Downloads/week License

Usage

$ npm install -g aws-site-deploy
$ aws-site-deploy COMMAND
running command...
$ aws-site-deploy (-v|--version|version)
aws-site-deploy/0.0.4 darwin-x64 node-v10.10.0
$ aws-site-deploy --help [COMMAND]
USAGE
  $ aws-site-deploy COMMAND
...

Commands

aws-site-deploy deploy

Upload a static site to AWS S3 and also create a cloudfront invalidation.

USAGE
  $ aws-site-deploy deploy

OPTIONS
  -h, --help                               show CLI help
  --awsAccessKeyId=awsAccessKeyId          aws access key id
  --awsEndpoint=awsEndpoint                aws endpoint
  --awsRegion=awsRegion                    aws region
  --awsSecretAccessKey=awsSecretAccessKey  aws secret access key
  --fqdn=fqdn                              (required) fqdn (fully qualified domain name) of the desire deploy
  --source=source                          (required) source folder for static site

See code: src/commands/deploy.ts

aws-site-deploy help [COMMAND]

display help for aws-site-deploy

USAGE
  $ aws-site-deploy help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

Releasing

Just run npm version patch|minor|major to cut a release to npm.