🎥 Make videos programmatically with React
Update deploy-site.ts
Jonny Burger80c29244fb62
diff --git a/packages/lambda/src/api/deploy-site.ts b/packages/lambda/src/api/deploy-site.tsindex 0750ff59f1..4cbd1611b8 100644--- a/packages/lambda/src/api/deploy-site.ts+++ b/packages/lambda/src/api/deploy-site.ts@@ -54,7 +54,7 @@ export type DeploySiteOutput = Promise<{};}>;-export const internalDeploySite = async ({+const mandatoryDeploySite = async ({bucketName,entryPoint,siteName,@@ -161,7 +161,19 @@ export const internalDeploySite = async ({};};-const deploySiteRaw = (args: DeploySiteInput) => {+export const internalDeploySite =+ NoReactAPIs.wrapWithErrorHandling(mandatoryDeploySite);++/**+ * @description Deploys a Remotion project to an S3 bucket to prepare it for rendering on AWS Lambda.+ * @see [Documentation](https://remotion.dev/docs/lambda/deploysite)+ * @param {AwsRegion} params.region The region in which the S3 bucket resides in.+ * @param {string} params.entryPoint An absolute path to the entry file of your Remotion project.+ * @param {string} params.bucketName The name of the bucket to deploy your project into.+ * @param {string} params.siteName The name of the folder in which the project gets deployed to.+ * @param {object} params.options Further options, see documentation page for this function.+ */+export const deploySite = (args: DeploySiteInput) => {return internalDeploySite({bucketName: args.bucketName,entryPoint: args.entryPoint,@@ -175,16 +187,3 @@ const deploySiteRaw = (args: DeploySiteInput) => {throwIfSiteExists: args.throwIfSiteExists ?? false,});};--/**- * @description Deploys a Remotion project to an S3 bucket to prepare it for rendering on AWS Lambda.- * @see [Documentation](https://remotion.dev/docs/lambda/deploysite)- * @param {AwsRegion} params.region The region in which the S3 bucket resides in.- * @param {string} params.entryPoint An absolute path to the entry file of your Remotion project.- * @param {string} params.bucketName The name of the bucket to deploy your project into.- * @param {string} params.siteName The name of the folder in which the project gets deployed to.- * @param {object} params.options Further options, see documentation page for this function.- */-export const deploySite = NoReactAPIs.wrapWithErrorHandling(- internalDeploySite,-) as typeof deploySiteRaw;