1.0.0 • Published 5 years ago

static-site-fastly-deployer v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

static-site-fastly-deployer

A tool to turn a directory of text-only files into VCL and deploy them to Fastly.

Requirements

  • NodeJS 10 or higher
  • Fastly API key with "global" permissions

Commands

Create

This will create a new Fastly service and deploy the website to it.

Options

  • s3o -- boolean -- Whether to have the website be behind S3O.
  • name -- string -- Name of the new Fastly service being created. This is used when searching on https://manage.fastly.com
  • domain -- string -- Domain name(s) of the new static website. E.G. --domain example.com --domain www.example.com
  • fastly-api-key -- string -- API key used to authenticate with Fastly. The key would need "global" permissions.
  • directory -- string -- Directory which contains the content for the website.