2.2.3 • Published 3 years ago

@nrk/ps-static-file-uploader v2.2.3

Weekly downloads
50
License
UNLICENSED
Repository
github
Last release
3 years ago

static-file-uploader

install size npm version

⚠️ This is an internal tool used by the TV web team @ NRK
The package is public only for ease of use with npx in CI
settings so we dont have to provide npx --userconfig <.npmrc>

Simple NodeJS cli tool for uploading static files in a directory to Azure Blob storage

Usage

Typical use case for node apps in the PS.Web repo, use npx in npm script and be explicit about the version (@1.0.x)

{
  "scripts": {
    "deploy": "npx @nrk/ps-static-file-uploader@1.0.x --uploadDirPath=<path to local dir> --remoteFolderName=<Folder name in Azure Blob storage>"
  }
}

The connection string to the Azure Blob storage is read from env['BLOB_CONNECTION_STRING']. The url to the Azure Blob storage is read from env['BLOB_STORE_URL'],

Set deployFeatureBranch to true to deploy other branches than master

Display help

> npx @nrk/ps-static-file-uploader -h
2.2.3

3 years ago

2.2.1

4 years ago

2.2.2

4 years ago

2.2.0

4 years ago

2.1.21

4 years ago

2.1.22

4 years ago

2.1.20

4 years ago

2.1.19

4 years ago

2.1.18

4 years ago

2.1.17

4 years ago

2.1.16

5 years ago

2.1.15

5 years ago

2.1.14

5 years ago

2.1.13

5 years ago

2.1.12

5 years ago

2.1.11

5 years ago

2.1.10

5 years ago

2.1.9

5 years ago

2.1.8

5 years ago

2.1.6

5 years ago

2.1.5

5 years ago

2.1.4

5 years ago

2.1.3

5 years ago

2.1.2

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.0

5 years ago

1.0.2

5 years ago

1.0.3

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago