diff --git a/packages/vercel/src/executors/deploy/deploy.impl.ts b/packages/vercel/src/executors/deploy/deploy.impl.ts index 64bd4d3b..8a897f35 100644 --- a/packages/vercel/src/executors/deploy/deploy.impl.ts +++ b/packages/vercel/src/executors/deploy/deploy.impl.ts @@ -11,6 +11,7 @@ import { vercelToken } from '../../utils/vercel-token' export interface DeployOptions { buildTarget?: string regions?: string + archive?: 'tgz' } export async function deployExecutor( @@ -51,6 +52,7 @@ export async function deployExecutor( context.configurationName === 'production' && '--prod', vercelToken && `--token=${vercelToken}`, options.regions && `--regions=${options.regions}`, + options.archive && `--archive=${options.archive}`, USE_VERBOSE_LOGGING && '--debug' ]), { diff --git a/packages/vercel/src/executors/deploy/schema.json b/packages/vercel/src/executors/deploy/schema.json index 3d6afaea..228912a2 100644 --- a/packages/vercel/src/executors/deploy/schema.json +++ b/packages/vercel/src/executors/deploy/schema.json @@ -9,6 +9,18 @@ "regions": { "type": "string", "description": "Regions to deploy to" + }, + "buildTarget": { + "type": "string", + "description": "Build target to deploy" + }, + "archive": { + "type": "string", + "description": "Type of archive to use when uploading the build", + "enum": ["tgz"], + "$default": "atom", + "x-prompt": "Archive type", + "x-display": "radio" } } }