Azure site publishing
- Source:
Methods
(static) _checkDeploymentStatus(callback)
Check deployment status
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | callback function that takes an optional |
- Source:
(static) _checkResources(callback)
Check existence of Azure resources in specified resource group/region
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | callback function that takes an optional |
- Source:
(static) _checkRGExistence(done)
Check existence of Resource Group
Parameters:
Name | Type | Description |
---|---|---|
done |
function | callback function that takes an optional |
- Source:
(static) _createFTPDirectories(callback)
Create FTP directories
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | callback function that takes an optional |
- Source:
(static) _createResourceGroup(callback)
Create new Resource Group
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | callback function that takes an optional |
- Source:
(static) _deployResourceGroup(done)
Create new Resource Group and execute template deployment
Parameters:
Name | Type | Description |
---|---|---|
done |
function | callback function that takes an optional |
- Source:
(static) _deployTemplate(callback)
Deploy generated template to Resource Group
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | callback function that takes an optional |
- Source:
(static) _ftpWalk(dir, done)
Walk static site directory structure and copy paths to global arrays
NOTE: may need to adjust path references
Parameters:
Name | Type | Description |
---|---|---|
dir |
string | directory path |
done |
function | callback function that takes an optional |
- Source:
(static) _getPublishingCredentials(callback)
Get Web App publishing credentials
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | callback function that takes an optional |
- Source:
(static) _setToken(callback)
Retrieve authentication token for Azure
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | callback function that takes an optional |
- Source:
(static) _uploadContent(callback)
Publish site content via FTPS
NOTE: May want to rework for Git publishing instead of FTPS NOTE: Requires Node 0.10.x due to bug in TLS module as described here
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | callback function that takes an optional |
- Source:
(static) _uploadFTPFiles(callback)
Upload files via FTP
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | callback function that takes an optional |
- Source:
(static) cleanup(done)
Remove Resource Group and cleanup attempted deployment operation
NOTE: Cleanup stubs for Resource Group provisioning failure
Parameters:
Name | Type | Description |
---|---|---|
done |
function | callback function that takes an optional |
- Source:
(static) publish(publishConfig, done)
Publish to Azure
Parameters:
Name | Type | Description |
---|---|---|
publishConfig |
Object | Azure publishing configuration |
done |
function | callback function that takes an optional |
- Source: