npx remotion cloudrun sites rmall
Cloud Run is in Alpha, which means APIs may change in any version and documentation is not yet finished. See the changelog to stay up to date with breaking changes.
bash
npx remotion cloudrun sites rmall
Remove all sites in the selected GCP project.
Example output
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.
--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
Example output
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.
--yes
, -y
Removes all sites without asking for confirmation.
npx remotion cloudrun sites rmall -y