azure-blob-static-content-uploader
A static content uploader to upload files to Azure Blob Storage accounts.
A static-content-config.json
file is required at the root of the react-app or whatever static content we're building.
The schema should be like
{
"appName": "easy-references",
"initialDirectoryName": "taskpane",
"uploadDirectory": "build",
"accountName": "easyaddins%REGION%",
"connectionString": "DefaultEndpointsProtocol=https;AccountName=%ACCOUNTNAME%;AccountKey=%ACCESSKEY%;EndpointSuffix=core.windows.net",
"supportedRegions": {
"ause": "",
}
}
If the initialDirectoryName
is undefined or empty, it will upload the files to the base path.