1 file changed
+3
-1
crates/cli/src/project/deployment.rs
+3
-1
@@ -1,6 +1,6 @@
1
use crate::{
2
cli::CommandResult,
3
- deploy::config::check_config,
3
+ deploy::config::{check_config, check_project},
4
ui::{succeed_message, succeed_symbol},
5
};
6
use anyhow::Result;
@@ -21,6 +21,8 @@ pub(crate) async fn process_deployment(
21
// Load project id from .smb/config.toml
22
let config = check_config().await?;
23
24
+ check_project(env, config.repository.id).await?;
25
+
26
if let Some(deployment_id) = id {
27
// Show detail for a specific deployment
28
let deployment_id: i32 = deployment_id.parse()?;