Skip to content

Commit

Permalink
Updating build scripts for new user variables
Browse files Browse the repository at this point in the history
  • Loading branch information
robwild-affinitydigital committed Aug 27, 2024
1 parent ad07a54 commit 8b97d6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions devops/cf/push.local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,10 @@ vault operator seal -tls-skip-verify
printf "Authenticating with GovUK PaaS...\n"

if [[ $ENV == 'production' ]] || [[ $ENV =~ ^production-.* ]]; then
cf login -a api.cloud.service.gov.uk -u $GOVUK_CF_USER -p $GOVUK_CF_PWD \
cf login -a api.cloud.service.gov.uk -u $DEV_GOVUK_CF_USER -p $DEV_GOVUK_CF_PWD \
-o "office-for-product-safety-and-standards" -s "primary-authority-register-production"
elif [[ $ENV == 'staging' ]] || [[ $ENV =~ ^staging-.* ]]; then
cf login -a api.cloud.service.gov.uk -u $GOVUK_CF_USER -p $GOVUK_CF_PWD \
cf login -a api.cloud.service.gov.uk -u $DEV_GOVUK_CF_USER -p $DEV_GOVUK_CF_PWD \
-o "office-for-product-safety-and-standards" -s "primary-authority-register-staging"
else
cf login -a api.cloud.service.gov.uk -u $DEV_GOVUK_CF_USER -p $DEV_GOVUK_CF_PWD \
Expand Down

0 comments on commit 8b97d6d

Please sign in to comment.