nb portal deploy

Build và triển khai workspace Portal đã chỉ định

Cách dùng

nb portal deploy <portal> [flags]

Tham số

Tham sốKiểuMô tả
<portal>stringPortal name or slug.
--env, -estringCLI env name. If omitted, the current env is used.
--yes, -ybooleanSkip cross-env confirmation.

Ví dụ

nb portal deploy customer
nb portal deploy customer --env dev --yes

Ghi chú

The command refreshes .env and .env.local, builds from the development path stored in the selected CLI env config, and syncs deployment output to the target app storage. Source storage and Git settings are managed by nb portal config in the remote Portal record.

Lệnh liên quan