diff --git a/CHANGELOG.md b/CHANGELOG.md index 20ffc5e..cf7009c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] - yyyy-mm-dd +### Fixed + +- Fix a bug where wire was attempting to SSH to the local machine when `buildOnTarget` & + `allowLocalDeployment` where true. + ## [v1.1.0] - 2025-12-31 ### Added diff --git a/crates/core/src/hive/steps/build.rs b/crates/core/src/hive/steps/build.rs index ea8a46a..1a9a356 100644 --- a/crates/core/src/hive/steps/build.rs +++ b/crates/core/src/hive/steps/build.rs @@ -51,13 +51,10 @@ impl ExecuteStep for Build { let status = run_command_with_env( &CommandArguments::new(command_string, ctx.modifiers) // build remotely if asked for AND we arent applying locally - // - // (building remotely but applying locally does not logically - // make any sense) .execute_on_remote( if ctx.node.build_remotely && let Objective::Apply(apply_objective) = ctx.objective - && apply_objective.should_apply_locally + && !apply_objective.should_apply_locally { Some(&ctx.node.target) } else {