message: chore(ci): add production account/environment info to circleci config
diff: @@ -48,28 +48,15 @@ jobs:
  name: deploy to IBM Cloud
  command: |
  # Install `ibmcloud` CLI
  - # curl -fsSL https://clis.ng.bluemix.net/install/linux | sh
  -
  - # install cf for now
  - wget https://s3.amazonaws.com/go-cli/releases/v6.12.4/cf-cli_amd64.deb -qO temp.deb && sudo dpkg -i temp.deb
  + curl -fsSL https://clis.ng.bluemix.net/install/linux | sh
  # Login and push staging manifest
  - # ibmcloud login \
  - # --apikey $CLOUD_API_KEY \
  - # -a https://api.ng.bluemix.net \
  - # -o carbon-design-system
  -
  - # use bluemix/cf for now
  - cf login \
  - -a https://api.w3ibm.bluemix.net \
  - -u $TEMP_USER
  - -p $TEMP_PASS
  - -o DigitalDesignSystem
  - -s dev
  + ibmcloud login \
  + --apikey $CLOUD_API_KEY \
  + -a https://api.ng.bluemix.net \
  + -o ibm-digital-design
  - cf push ibm-dotcom-test
  -
  - # ibmcloud target -s production
  + ibmcloud target -s production
  ibmcloud cf add-plugin-repo CF-Community https://plugins.cloudfoundry.org
  ibmcloud cf install-plugin blue-green-deploy -f -r CF-Community
  @@ -77,7 +64,7 @@ jobs:
  # Default storybook build
  cd packages/react
  yarn build-storybook
  - ibmcloud cf blue-green-deploy carbon-storybook \
  + ibmcloud cf blue-green-deploy ibmdotcom-storybook \
  -f manifest.yml \
  --delete-old-apps
  @@ -132,14 +119,14 @@ jobs:
  echo "Our git status is not clean. Checking in the following files:";
  echo "$(git status --porcelain)";
  git config --global credential.helper 'cache --timeout=120'
  - git config --global user.email "kennylam@protonmail.com"
  - git config --global user.name "kennylam"
  + git config --global user.email "digdes@us.ibm.com"
  + git config --global user.name "ibmdotcom-bot"
  git add -A
  git commit -m "chore(project): sync generated files [skip ci]"
  # Pipe to /dev/null to prevent any token leaks in CI output
  git push -q \
  - https://{$GH_TOKEN}:@github.com:kennylam/ibm-dotcom-library.git \
  - dev \
  + https://{$GH_TOKEN}:@github.com/carbon-design-system/ibm-dotcom-library.git \
  + master \
  > /dev/null 2>&1
  fi
  @@ -172,4 +159,3 @@ workflows:
  ignore: /.*/
  tags:
  only: /^v\d+\.\d+\.\d+$/
  -
  