static-component-deployer
v1.1.0
Published
A module for deploying static components to Sling.
Downloads
1
Readme
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 *
| Name | Possible values | Use |
|------|----------------|-----|
| SLING_ENV
* | test
or live
| Sling env to deploy to. |
| SLING_OVERWRITE
| 1
or leave blank | Set this value to 1
if you want to overwrite a version that already exists |