diff --git a/src/commands/deploy.ts b/src/commands/deploy.ts index 1190c295..960fe021 100644 --- a/src/commands/deploy.ts +++ b/src/commands/deploy.ts @@ -71,7 +71,7 @@ const executeDeploy = async (args?: string[]) => { await cliPreDeploy({config: satelliteConfig}); - await cliDeploy({ + const {result} = await cliDeploy({ config: satelliteConfig, listAssets: listExistingAssets, assertSourceDirExists, @@ -79,6 +79,10 @@ const executeDeploy = async (args?: string[]) => { uploadFile }); + if (result === 'skipped') { + process.exit(0); + } + await cliPostDeploy({config: satelliteConfig}); };