Back to Remotion

npx remotion cloudrun sites rmall

packages/docs/docs/cloudrun/cli/sites/rmall.mdx

4.0.4602.5 KB
Original Source
<ExperimentalBadge> <p> Cloud Run is in <a href="/docs/cloudrun/status">Alpha status and not actively being developed.</a> </p> </ExperimentalBadge>
bash
npx remotion cloudrun sites rmall

Remove all sites in the selected GCP project.

<details> <summary>Example output</summary> <pre> Retrieving sites in us-east1.
Site: another-site


Bucket: remotioncloudrun-12345


Region: us-east1


Serve Url: https://storage.googleapis.com/remotioncloudrun-12345/sites/another-site/index.html




Delete? (Y/n) n

Skipping site - another-site.






Site: test-site


Bucket: remotioncloudrun-12345


Region: us-east1


Serve Url: https://storage.googleapis.com/remotioncloudrun-12345/sites/test-site/index.html




Delete? (Y/n) n

Skipping site - test-site.
</pre> </details>

--region

The GCP region to remove all sites from.

--all-regions,

Ignores region, removing sites across all regions for the project.

npx remotion cloudrun sites rmall --all-regions
<details> <summary>Example output</summary> <pre> Retrieving sites in all regions.
Site: another-site


Bucket: remotioncloudrun-12345


Region: us-east1


Serve Url: https://storage.googleapis.com/remotioncloudrun-12345/sites/another-site/index.html




Delete? (Y/n) n

Skipping site - another-site.






Site: test-site


Bucket: remotioncloudrun-12345


Region: us-east1


Serve Url: https://storage.googleapis.com/remotioncloudrun-12345/sites/test-site/index.html




Delete? (Y/n) n

Skipping site - test-site.






Site: central-site


Bucket: remotioncloudrun-abcdefgh


Region: us-central1


Serve Url: https://storage.googleapis.com/remotioncloudrun-abcdefgh/sites/central-site/index.html




Delete? (Y/n) n

Skipping site - central-site.
</pre> </details>

--yes, -y

Removes all sites without asking for confirmation.

npx remotion cloudrun sites rmall -y

See also