1.1.0 • Published 5 years ago

static-component-deployer v1.1.0

Weekly downloads
13
License
-
Repository
github
Last release
5 years ago

Static component deployer

Module for deploying static components to Sling.

Usage

Install the module with npm

npm install @bbc/static-component-deployer --save-dev

Add an npm script

// package.json
{
    "scripts": {
        "deploy": "SLING=ENV=test static-component-deployer"
    }
}

Run npm run deploy

Environment variables

The tool can receive the follow ENV variables.

required values marked with *

NamePossible valuesUse
SLING_ENV*test or liveSling env to deploy to.
SLING_OVERWRITE1 or leave blankSet this value to 1 if you want to overwrite a version that already exists
1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago