Skip to content

Commit

Permalink
print secret to test and validate the value
Browse files Browse the repository at this point in the history
  • Loading branch information
Long Le authored and Long Le committed Sep 16, 2024
1 parent 7950394 commit 2d9f0cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tyk-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ jobs:
# echo "Config_Data Before:"
# jq '.api_definition.config_data' $file
# echo "Replacing with:"
echo $STG_US_CONFIG_DATA | sed 's/./& /g'
echo $STG_US_CONFIG_DATA
echo ${{secrets.STG_US_PROXY_TARGET_URL}} | sed 's/./& /g'
echo ${{secrets.STG_US_PROXY_TARGET_URL}}
jq --arg config_data "$STG_US_CONFIG_DATA" '.api_definition.config_data = ($config_data | fromjson)' "$file" > tmp_api.json
mv tmp_api.json $file
echo "Updated config_data in $file"
Expand Down

0 comments on commit 2d9f0cf

Please sign in to comment.