# Build, verify, and deploy

Build a registered module with the CLI and check the results.

1. Run your module tests and use `projectroom module build --module ID --output json`. Keep the build ID and artifact hash returned by the CLI.

2. After confirming the target environment and approval scope, use `projectroom module deploy --module ID --output json`. Check deployment status and the actual response afterward.

3. When a build or deployment response is ambiguous, check the CLI status first. Preserve the original target and receipt and resume after confirming the state.
