Skip to content

Commit

Permalink
echo json
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 f27a087 commit ec97466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tyk-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ 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 | sed 's/./& /g'
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 ec97466

Please sign in to comment.