Skip to content

Commit

Permalink
Merge pull request #748 from 18F/really-fix-cd-strategy
Browse files Browse the repository at this point in the history
Target the API before attempting Auth
  • Loading branch information
rogeruiz authored Mar 8, 2018
2 parents a704280 + a62fc7e commit b8fa5e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ jobs:
- run:
name: deploy Tock Staging to cloud.gov
command: |
cf api ${CF_API}
cf auth ${CF_DEPLOYER_USERNAME_STAGING} ${CF_DEPLOYER_PASSWORD_STAGING}
cf set-env tock VERSION ${CIRCLE_SHA1}
cf_deploy.sh tock gsa-18f-tock staging manifest-staging.yml
Expand All @@ -101,6 +102,7 @@ jobs:
- run:
name: deploy Tock Production to cloud.gov
command: |
cf api ${CF_API}
cf auth ${CF_DEPLOYER_USERNAME_PRODUCTION} ${CF_DEPLOYER_PASSWORD_PRODUCTION}
cf set-env tock VERSION ${CIRCLE_TAG}
cf_deploy.sh tock gsa-18f-tock prod manifest-production.yml
Expand Down

0 comments on commit b8fa5e0

Please sign in to comment.