diff --git a/terraform/pipeline/workspace.py b/terraform/pipeline/workspace.py index 4915d03f..526296e8 100644 --- a/terraform/pipeline/workspace.py +++ b/terraform/pipeline/workspace.py @@ -12,7 +12,7 @@ if REASON == "PullRequest" and TARGET in ENV_BRANCHES: # it's a pull request against one of the environment branches, so use the target branch environment = TARGET -elif REASON == "IndividualCI" and SOURCE in ENV_BRANCHES: +elif REASON in ["IndividualCI", "Manual"] and SOURCE in ENV_BRANCHES: # it's being run on one of the environment branches, so use that environment = SOURCE else: