Skip to content

🎥 Make videos programmatically with React

unhardcode remotion-6

Jonny Burger8207b6474334
diff --git a/packages/cloudrun/src/api/deploy-service.ts b/packages/cloudrun/src/api/deploy-service.ts
index ce5f845300..6bee3d2b12 100644
--- a/packages/cloudrun/src/api/deploy-service.ts
+++ b/packages/cloudrun/src/api/deploy-service.ts
@@ -76,7 +76,7 @@ export const deployService = async ({
if (existingService) {
return {
- fullName: `projects/remotion-6/locations/${region}/services/${serviceName}`,
+ fullName: `projects/${projectID}/locations/${region}/services/${serviceName}`,
shortName: serviceName,
uri: null,
alreadyExists: true,
diff --git a/packages/docs/docs/cloudrun/deployservice.md b/packages/docs/docs/cloudrun/deployservice.md
index fcc402bb1f..51b6c4244d 100644
--- a/packages/docs/docs/cloudrun/deployservice.md
+++ b/packages/docs/docs/cloudrun/deployservice.md
@@ -60,7 +60,7 @@ Default as true. This will validate that an image exists in the public Artifact
An object with the following values:
-- `fullName` (_string_): The full name of the service just created, in the form `projects/remotion-6/locations/{region}/services/{serviceName}`.
+- `fullName` (_string_): The full name of the service just created, in the form `projects/{projectId}/locations/{region}/services/{serviceName}`.
- `shortName` (_string_): The name of the service just created, as it appears in the console.
- `uri` (_string_): The endpoint of the service just created.
- `alreadyExists`: (_boolean_): Whether the creation was skipped because the service already existed.