🎥 Make videos programmatically with React
fix docs
Jonny Burger6353c59c6637
diff --git a/packages/cloudrun/src/api/get-service-info.ts b/packages/cloudrun/src/api/get-service-info.tsindex b9bf6df962..6a672a39c8 100644--- a/packages/cloudrun/src/api/get-service-info.ts+++ b/packages/cloudrun/src/api/get-service-info.ts@@ -9,7 +9,7 @@ export type ServiceInfo = {cpuLimit: string;remotionVersion: string | null;uri: string;- region: string;+ region: GcpRegion;consoleUrl: string;};@@ -58,7 +58,7 @@ export const getServiceInfo = async ({.split('--')[0].replace(/-/g, '.') as string,uri: service.uri as string,- region: deployedRegion,+ region: deployedRegion as GcpRegion,consoleUrl: `https://console.cloud.google.com/run/detail/${deployedRegion}/${deployedServiceName}/logs`,};};diff --git a/packages/docs/docs/cloudrun/getServiceinfo.md b/packages/docs/docs/cloudrun/getServiceinfo.mdindex c769ceebd3..41c1d1a736 100644--- a/packages/docs/docs/cloudrun/getServiceinfo.md+++ b/packages/docs/docs/cloudrun/getServiceinfo.md@@ -29,9 +29,9 @@ console.log(info.timeoutInSeconds); // 500console.log(info.memoryLimit); // 1500console.log(info.cpuLimit); // 2048console.log(info.remotionVersion); // '2021-07-14'-console.log(service.uri); // "https://remotion--3-3-82--mem512mi--cpu1-0--t-500-1a2b3c4d5e-ue.a.run.app"-console.log(service.region); // "us-east1"-console.log(service.consoleUrl); // "https://console.cloud.google.com/run/detail/us-east1/remotion--3-3-82--mem512mi--cpu1-0--t-500/logs"+console.log(info.uri); // "https://remotion--3-3-82--mem512mi--cpu1-0--t-500-1a2b3c4d5e-ue.a.run.app"+console.log(info.region); // "us-east1"+console.log(info.consoleUrl); // "https://console.cloud.google.com/run/detail/us-east1/remotion--3-3-82--mem512mi--cpu1-0--t-500/logs"```## Argumentsdiff --git a/packages/docs/docs/cloudrun/setup.md b/packages/docs/docs/cloudrun/setup.mdindex c8b95e270d..2f0a07ba5f 100644--- a/packages/docs/docs/cloudrun/setup.md+++ b/packages/docs/docs/cloudrun/setup.md@@ -86,6 +86,8 @@ This means that you can pull in a script that runs a couple of gcloud and Terraf<img src="/img/cloudrun/selectCloudShell.jpg" width="200" />+// TODO: Cannot do relative links in Docusaurus+2. Within the Cloud Shell, type the following command and follow the prompts.// TODO: Switch to remotion-dev repo@@ -97,9 +99,7 @@ This means that you can pull in a script that runs a couple of gcloud and TerrafIf this is the first time initialising Remotion in the GCP project, you will want to select option 1.If you are updating the version of Remotion for this GCP project, you will want to select option 1.- // TODO: Cannot do relative links in DocusaurusIf you want to [generate a new .env file](./generateEnvFile.md), or manage keys already created, you will want to select option 2. You will be presented with an opportunity to generate this file after completing option 1.- <!-- ToDo - host this in the official Remotion repo -->3. Download the .env file by clicking the vertical ellipsis, in the top right of the cloud shell window, and selecting Download. Then type .env at the end of the prefilled path, and click DOWNLOAD;<img src="/img/cloudrun/downloadEnv.jpg" width="350" />@@ -107,6 +107,8 @@ This means that you can pull in a script that runs a couple of gcloud and Terraf<br /><img src="/img/cloudrun/downloadEnvFolder.png" width="300" />+// ToDo - host this in the official Remotion repo+4. Remove the .env file from the virtual machine, using this command;```bash