Skip to content

Commit

Permalink
Test 4
Browse files Browse the repository at this point in the history
  • Loading branch information
YvetteWhiteUSDS committed Nov 12, 2024
1 parent ef4294b commit 9266f8c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/deploy-to-sandbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: Deploy to Sandbox
on:
workflow_dispatch:
inputs:
service-acct-username:
service_acct_username:
description: 'Cloud.gov service account username'
required: true
type: string
service-acct-password:
service_acct_password:
description: 'Cloud.gov service account password'
required: true
type: string
Expand All @@ -25,9 +25,10 @@ jobs:
run: |
cat $GITHUB_EVENT_PATH
echo $GITHUB_EVENT_PATH
echo jq '.' $GITHUB_EVENT_PATH
# SVC_ACCT_PASSWORD=$(jq -r '.inputs.service-acct-password' $GITHUB_EVENT_PATH)
SVC_ACCT_PASSWORD=$(jq '.inputs.service_acct_password' $GITHUB_EVENT_PATH)
echo 1 = $SVC_ACCT_PASSWORD
echo 2 = ${SVC_ACCT_PASSWORD}
# 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 login -a api.fr.cloud.gov -u ${{ github.event.inputs.service_acct_username }} -p $SVC_ACCT_PASSWORD
# ./cf push

0 comments on commit 9266f8c

Please sign in to comment.