@ossy/deployment-tools 0.0.70 → 0.0.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ossy/deployment-tools",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.71",
|
|
4
4
|
"description": "Collection of scripts and tools to aid deployment of containers and static files to Amazon Web Services through GitHub Actions",
|
|
5
5
|
"source": "./src/index.js",
|
|
6
6
|
"main": "./src/index.js",
|
package/src/deploy/cli.js
CHANGED
|
@@ -4,7 +4,7 @@ const { PlatformDeploymentService } = require('./platform-deployment')
|
|
|
4
4
|
const { logInfo, logError } = require('../log')
|
|
5
5
|
|
|
6
6
|
const deploy = options => {
|
|
7
|
-
logInfo({ message: 'Running deploy command' })
|
|
7
|
+
logInfo({ message: '[CLI] Running deploy command' })
|
|
8
8
|
|
|
9
9
|
const parsedArgs = arg({
|
|
10
10
|
'--username': String,
|
|
@@ -34,7 +34,7 @@ const deploy = options => {
|
|
|
34
34
|
targetDomain: parsedArgs['--domain'],
|
|
35
35
|
targetPlatform: parsedArgs['--platform'],
|
|
36
36
|
pathToPlatformTemplates: parsedArgs['--platforms-path'],
|
|
37
|
-
|
|
37
|
+
globPatternForOssyFiles: parsedArgs['--ossy-files']
|
|
38
38
|
})
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -25,7 +25,7 @@ class DeploymentTemplateService {
|
|
|
25
25
|
/**
|
|
26
26
|
* Read and and group deployments by targetDeploymentPlatform
|
|
27
27
|
*
|
|
28
|
-
* @param {string} blob -
|
|
28
|
+
* @param {string} blob - blob pattern for ossy.json files
|
|
29
29
|
*/
|
|
30
30
|
static readOssyFiles(blob) {
|
|
31
31
|
return glob(blob, { ignore: 'node_modules/**' })
|