2.2.3 • Published 2 years ago

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

Weekly downloads
50
License
UNLICENSED
Repository
github
Last release
2 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

2 years ago

2.2.1

3 years ago

2.2.2

3 years ago

2.2.0

3 years ago

2.1.21

3 years ago

2.1.22

3 years ago

2.1.20

3 years ago

2.1.19

3 years ago

2.1.18

3 years ago

2.1.17

3 years ago

2.1.16

3 years ago

2.1.15

3 years ago

2.1.14

3 years ago

2.1.13

4 years ago

2.1.12

4 years ago

2.1.11

4 years ago

2.1.10

4 years ago

2.1.9

4 years ago

2.1.8

4 years ago

2.1.6

4 years ago

2.1.5

4 years ago

2.1.4

4 years ago

2.1.3

4 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.0

4 years ago

1.0.2

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago