Skip to content

Commit

Permalink
Just use login; 😑
Browse files Browse the repository at this point in the history
:grumble: :grumble: read the docs 😔
  • Loading branch information
rogeruiz committed Mar 8, 2018
1 parent b8fa5e0 commit abbe73a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +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 login -a ${CF_API} -u ${CF_DEPLOYER_USERNAME_STAGING} -p ${CF_DEPLOYER_PASSWORD_STAGING}
cf set-env tock VERSION ${CIRCLE_SHA1}
cf_deploy.sh tock gsa-18f-tock staging manifest-staging.yml
Expand All @@ -102,8 +101,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 login -a ${CF_API} -u ${CF_DEPLOYER_USERNAME_PRODUCTION} -p ${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 abbe73a

Please sign in to comment.