nb portal push

Đẩy thay đổi mã nguồn Portal cục bộ lên source storage

Cách dùng

nb portal push <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.
--message, -mstringSource update message; for Git-managed source, it is used as the Git commit message.

Ví dụ

nb portal push customer
nb portal push customer --env prod --yes
nb portal push customer --message "Update customer portal"

Ghi chú

The command reads portal.config.json and syncs that configuration to the remote Portal record first. Git source storage clones the configured repo, copies the local workspace into --git-path, commits, and pushes. With default nocobase storage, local and docker envs are usually no-op; http envs upload a source archive through the API.

Lệnh liên quan