Swap config vars for env vars

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
Carlo Costino
2024-10-09 14:23:25 -06:00
parent a1b6047292
commit 22bb1d0b8c
2 changed files with 3 additions and 8 deletions

View File

@@ -1,12 +1,6 @@
name: Deploy egress proxy
description: Set egress space security groups and deploy proxy
inputs:
cf_username:
description: The username to authenticate with.
required: true
cf_password:
description: The password to authenticate with.
required: true
cf_org:
description: The org the target app exists in.
required: true

View File

@@ -103,9 +103,10 @@ jobs:
- name: Deploy egress proxy
#if: steps.changed-egress-config.outputs.any_changed == 'true'
uses: ./.github/actions/deploy-proxy
env:
CF_USERNAME: ${{ secrets.CF_USERNAME }}
CF_PASSWORD: ${{ secrets.CF_PASSWORD }}
with:
cf_username: ${{ secrets.CLOUDGOV_USERNAME }}
cf_password: ${{ secrets.CLOUDGOV_PASSWORD }}
cf_org: gsa-tts-benefits-studio
cf_space: notify-staging
app: notify-api-staging