Swap out config variables for env variables

This changeset swaps the CF_USERNAME and CF_PASSWORD config vars to be proper env vars so they can be read in as expected.

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
Carlo Costino
2024-10-09 14:20:10 -06:00
parent 9ee0da0b32
commit fd447e9a75
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

@@ -109,9 +109,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-admin-staging