Skip to content

Commit

Permalink
Masking part 4
Browse files Browse the repository at this point in the history
  • Loading branch information
YvetteWhiteUSDS authored Nov 12, 2024
1 parent 03bb1a4 commit 2609eab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-to-sandbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:
- name: Deploy app to sandbox
id: deploy-to-cloudgov-sandbox
run: |
SVC_ACCT_SECRET=${{ github.event.inputs.service-acct-password }}
echo "::add-mask::${SVC_ACCT_SECRET}"
echo SVC_ACCT_SECRET=$SVC_ACCT_SECRET >> $GITHUB_OUTPUT
./cf login -a api.fr.cloud.gov -u ${{ github.event.inputs.service-acct-username }} -p $SVC_ACCT_SECRET
SVC_ACCT_PASSWORD=$(jq -r '.inputs.service-acct-password' $GITHUB_EVENT_PATH)
echo "::add-mask::${SVC_ACCT_PASSWORD}"
echo SVC_ACCT_PASSWORD=$SVC_ACCT_PASSWORD >> $GITHUB_OUTPUT
./cf login -a api.fr.cloud.gov -u ${{ github.event.inputs.service-acct-username }} -p $SVC_ACCT_PASSWORD
./cf push

0 comments on commit 2609eab

Please sign in to comment.