@docupace/pipeline 1.0.33-matttest.0 → 1.0.33-matttest.2
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 +1 -1
- package/src/next/cli.js +11 -2
package/package.json
CHANGED
package/src/next/cli.js
CHANGED
|
@@ -110,7 +110,16 @@ program
|
|
|
110
110
|
.description('Deploy an application for a specific site')
|
|
111
111
|
.action(async () => {
|
|
112
112
|
const deployTag = await getDeployTag();
|
|
113
|
-
const { env, site } = getDefaultDeploySite(deployTag);
|
|
113
|
+
const { env, site } = await getDefaultDeploySite(deployTag);
|
|
114
|
+
await deployTemplate(env, site);
|
|
115
|
+
});
|
|
116
|
+
|
|
117
|
+
program
|
|
118
|
+
.command('deployTemplate')
|
|
119
|
+
.description('Deploy an application for a specific site')
|
|
120
|
+
.action(async () => {
|
|
121
|
+
const deployTag = await getDeployTag();
|
|
122
|
+
const { env, site } = await getDefaultDeploySite(deployTag);
|
|
114
123
|
await deployTemplate(env, site);
|
|
115
124
|
});
|
|
116
125
|
|
|
@@ -119,7 +128,7 @@ program
|
|
|
119
128
|
.description('Deploy an application for a specific site')
|
|
120
129
|
.action(async (application) => {
|
|
121
130
|
const deployTag = await getDeployTag();
|
|
122
|
-
const { env, site } = getDefaultDeploySite(deployTag);
|
|
131
|
+
const { env, site } = await getDefaultDeploySite(deployTag);
|
|
123
132
|
await deployAppWithTag(application, env, site, deployTag);
|
|
124
133
|
});
|
|
125
134
|
|