🐛 Fix didn't pass post-deploy parameters
This commit is contained in:
parent
34f20e02ae
commit
2240ac30c6
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "roadsign-cli",
|
"name": "roadsign-cli",
|
||||||
"module": "index.ts",
|
"module": "index.ts",
|
||||||
"version": "1.0.1",
|
"version": "1.0.2",
|
||||||
"repository": "https://github.com/solsynth/roadsign",
|
"repository": "https://github.com/solsynth/roadsign",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@ -34,4 +34,3 @@
|
|||||||
"ora": "^8.1.0"
|
"ora": "^8.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -113,7 +113,7 @@ export class DeployCommand extends Command {
|
|||||||
let idx = 0
|
let idx = 0
|
||||||
for (const deployment of localCfg.config.deployments ?? []) {
|
for (const deployment of localCfg.config.deployments ?? []) {
|
||||||
this.context.stdout.write(chalk.cyan(`Deploying ${idx + 1} out of ${localCfg.config.deployments.length} deployments...\n`))
|
this.context.stdout.write(chalk.cyan(`Deploying ${idx + 1} out of ${localCfg.config.deployments.length} deployments...\n`))
|
||||||
await this.deploy(this.server, deployment.region, deployment.site, deployment.path)
|
await this.deploy(this.server, deployment.region, deployment.site, deployment.path, deployment.postDeploy)
|
||||||
}
|
}
|
||||||
|
|
||||||
this.context.stdout.write(chalk.green(`All deployments has been deployed!\n`))
|
this.context.stdout.write(chalk.green(`All deployments has been deployed!\n`))
|
||||||
|
Loading…
Reference in New Issue
Block a user