Skip to content

Commit

Permalink
fixed incorrect variable
Browse files Browse the repository at this point in the history
  • Loading branch information
George Hudson committed Oct 31, 2023
1 parent dca805c commit e881fd7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .circleci/deployment/jobs.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
# jobs:
deploy-dev:
executor: docker-executor
parameters:
target_env:
type: string
working_directory: ~/tdp-deploy
steps:
- when:
condition: << pipeline.parameters.run_dev_deployment >>
steps:
- deploy-cloud-dot-gov:
backend-appname: tdp-backend-<< parameters.target_env >>
frontend-appname: tdp-frontend-<< parameters.target_env >>
backend-appname: tdp-backend-<< pipeline.parameters.target_env >>
frontend-appname: tdp-frontend-<< pipeline.parameters.target_env >>

deploy-staging:
executor: docker-executor
Expand All @@ -36,14 +33,17 @@
cf-username: CF_USERNAME_STAGING

deploy-infrastructure-dev:
parameters:
target_env:
type: string
executor: terraform/default
working_directory: ~/tdp-deploy
steps:
- when:
condition: << pipeline.parameters.run_dev_deployment >>
steps:
- deploy-infrastructure:
cf-app: << parameters.target_env >>
cf-app: << pipeline.parameters.target_env >>

deploy-infrastructure-staging:
executor: terraform/default
Expand Down
1 change: 0 additions & 1 deletion .circleci/deployment/workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
only:
- master
- deploy-dev:
target_env: << pipeline.parameters.target_env >>
requires:
- deploy-infrastructure-dev
filters:
Expand Down

0 comments on commit e881fd7

Please sign in to comment.