🐛 Fix didn't pass post-deploy parameters
This commit is contained in:
		| @@ -1,7 +1,7 @@ | ||||
| { | ||||
|   "name": "roadsign-cli", | ||||
|   "module": "index.ts", | ||||
|   "version": "1.0.1", | ||||
|   "version": "1.0.2", | ||||
|   "repository": "https://github.com/solsynth/roadsign", | ||||
|   "type": "module", | ||||
|   "scripts": { | ||||
| @@ -34,4 +34,3 @@ | ||||
|     "ora": "^8.1.0" | ||||
|   } | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -113,7 +113,7 @@ export class DeployCommand extends Command { | ||||
|       let idx = 0 | ||||
|       for (const deployment of localCfg.config.deployments ?? []) { | ||||
|         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`)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user