Browse Source

Production doesn't have API credentials yet

pull/336/head
baarkerlounger 3 years ago
parent
commit
a3a39eb13e
  1. 4
      .github/workflows/production_pipeline.yml

4
.github/workflows/production_pipeline.yml

@ -164,8 +164,6 @@ jobs:
CF_API_ENDPOINT: ${{ secrets.CF_API_ENDPOINT }} CF_API_ENDPOINT: ${{ secrets.CF_API_ENDPOINT }}
CF_SPACE: ${{ secrets.CF_SPACE }} CF_SPACE: ${{ secrets.CF_SPACE }}
CF_ORG: ${{ secrets.CF_ORG }} CF_ORG: ${{ secrets.CF_ORG }}
API_USER: ${{ secrets.API_USER }}
API_KEY: ${{ secrets.API_KEY }}
APP_NAME: dluhc-core-production APP_NAME: dluhc-core-production
GOVUK_NOTIFY_API_KEY: ${{ secrets.GOVUK_NOTIFY_API_KEY }} GOVUK_NOTIFY_API_KEY: ${{ secrets.GOVUK_NOTIFY_API_KEY }}
APP_HOST: ${{ secrets.APP_HOST }} APP_HOST: ${{ secrets.APP_HOST }}
@ -177,8 +175,6 @@ jobs:
cf api $CF_API_ENDPOINT cf api $CF_API_ENDPOINT
cf auth cf auth
cf target -o $CF_ORG -s $CF_SPACE cf target -o $CF_ORG -s $CF_SPACE
cf set-env $APP_NAME API_USER $API_USER
cf set-env $APP_NAME API_KEY $API_KEY
cf set-env $APP_NAME GOVUK_NOTIFY_API_KEY $GOVUK_NOTIFY_API_KEY cf set-env $APP_NAME GOVUK_NOTIFY_API_KEY $GOVUK_NOTIFY_API_KEY
cf set-env $APP_NAME APP_HOST $APP_HOST cf set-env $APP_NAME APP_HOST $APP_HOST
cf set-env $APP_NAME RAILS_MASTER_KEY $RAILS_MASTER_KEY cf set-env $APP_NAME RAILS_MASTER_KEY $RAILS_MASTER_KEY

Loading…
Cancel
Save