diff --git a/orb/src/@orb.yml b/orb/src/@orb.yml index 6b964f150..4c3193fae 100644 --- a/orb/src/@orb.yml +++ b/orb/src/@orb.yml @@ -12,6 +12,6 @@ display: # If your orb requires other orbs, you can import them like this. Otherwise remove the "orbs" stanza. orbs: node: circleci/node@5.0.2 - change-api: financial-times/change-api@1.0.1 + change-api: financial-times/change-api@1.0.7 aws-cli: circleci/aws-cli@3.1.4 serverless-framework: circleci/serverless-framework@2.0.1 diff --git a/orb/src/jobs/deploy-production.yml b/orb/src/jobs/deploy-production.yml index 348603eca..67dfc55b3 100644 --- a/orb/src/jobs/deploy-production.yml +++ b/orb/src/jobs/deploy-production.yml @@ -6,13 +6,10 @@ parameters: default: '' type: string system-code: - type: env_var_name - default: CIRCLE_PROJECT_REPONAME + default: $CIRCLE_PROJECT_REPONAME description: >- - The environment variable containing the system-code of the system being changed. - environment: - default: production - description: The environment in which the system is being changed. + The system-code of the system being changed. Defaults to the repository + name. type: string executor: << parameters.executor >> @@ -32,5 +29,5 @@ steps: name: Deploy to production command: npx dotcom-tool-kit deploy:production - change-api/change-log: - environment: << parameters.environment >> + environment: production system-code: << parameters.system-code >> diff --git a/orb/src/jobs/heroku-promote.yml b/orb/src/jobs/heroku-promote.yml index 161bfe95a..0cc486e8b 100644 --- a/orb/src/jobs/heroku-promote.yml +++ b/orb/src/jobs/heroku-promote.yml @@ -3,13 +3,10 @@ parameters: default: default type: executor system-code: - type: env_var_name - default: CIRCLE_PROJECT_REPONAME + default: $CIRCLE_PROJECT_REPONAME description: >- - The environment variable containing the system-code of the system being changed. - environment: - default: production - description: The environment in which the system is being changed. + The system-code of the system being changed. Defaults to the repository + name. type: string executor: << parameters.executor >> @@ -20,5 +17,5 @@ steps: name: Deploy to production command: npx dotcom-tool-kit deploy:production - change-api/change-log: - environment: << parameters.environment >> + environment: production system-code: << parameters.system-code >>