static-site-fastly-deployer

1.0.0 • Public • Published

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

Dependencies (4)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i static-site-fastly-deployer

    Weekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    19.4 kB

    Total Files

    7

    Last publish

    Collaborators

    • jakedchampion