Skip to content
This repository was archived by the owner on Aug 26, 2021. It is now read-only.

Commit 1fc7a9a

Browse files
author
Adam A. Zerella
committed
Corrected prod deployment
Added env vars for CF endpoint
1 parent dd1c728 commit 1fc7a9a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.circleci/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
mv index.html site/
5454
mv .deploy/manifest-staging.yml site/
5555
cd site/
56-
cf login -a api.system.y.cld.gov.au -o $CF_ORG_STAGING -s $CF_SPACE_STAGING -u $CF_USER_STAGING -p $CF_PASSWORD_STAGING
56+
cf login -a $CF_API_STAGING -o $CF_ORG_STAGING -s $CF_SPACE_STAGING -u $CF_USER_STAGING -p $CF_PASSWORD_STAGING
5757
cf zero-downtime-push uikit -f manifest-staging.yml
5858
5959
@@ -75,7 +75,7 @@ jobs:
7575
mv index.html site/
7676
mv .deploy/manifest-testing.yml site/
7777
cd site/
78-
cf login -a api.system.y.cld.gov.au -o $CF_ORG_STAGING -s $CF_SPACE_STAGING -u $CF_USER_STAGING -p $CF_PASSWORD_STAGING
78+
cf login -a $CF_API_STAGING -o $CF_ORG_STAGING -s $CF_SPACE_STAGING -u $CF_USER_STAGING -p $CF_PASSWORD_STAGING
7979
cf zero-downtime-push uikit -f manifest-testing.yml
8080
8181
@@ -96,8 +96,8 @@ jobs:
9696
mv index.html site/
9797
mv .deploy/manifest-production.yml site/
9898
cd site/
99-
cf login -a api.system.b.cld.gov.au -o $CF_ORG_PROD -s $CF_SPACE_PROD -u $CF_USER_PROD -p $CF_PASSWORD_PROD
100-
cf zero-downtime-push uikit -f .deploy/manifest-production.yml
99+
cf login -a $CF_API_PROD -o $CF_ORG_PROD -s $CF_SPACE_PROD -u $CF_USER_PROD -p $CF_PASSWORD_PROD
100+
cf zero-downtime-push uikit -f manifest-production.yml
101101
102102
103103
# OUR WORKFLOW

0 commit comments

Comments
 (0)