Skip to main content

npx remotion cloudrun sites rm

EXPERIMENTAL
npx remotion cloudrun sites rm central-site
npx remotion cloudrun sites rm central-site another-site # multiple at once

通过其ID从云存储中移除一个(或多个)站点。

🌐 Removes a site (or multiple) from Cloud Storage by it's ID.

示例输出

站点: central-site


存储桶: remotioncloudrun-abcdefgh


区域: us-central1


服务网址: https://storage.googleapis.com/remotioncloudrun-abcdefgh/sites/central-site/index.html



删除? (Y/n) Y
已从存储桶 remotioncloudrun-abcdefgh 删除站点 central-site。


--region

要从中移除站点的 GCP 区域

🌐 The GCP region to remove sites from.

note

rm 命令不支持 --all-regions 标志,因为同一个站点名称可能存在于多个区域。这使得从多个区域中删除多个站点名称变得困难。

--yes, -y

删除一个(或多个)站点而不进行确认。

🌐 Removes a site (or multiple) without asking for confirmation.

npx remotion cloudrun sites rm central-site -y

另请参阅

🌐 See also