Skip to content

Commit d79c178

Browse files
Refactor key value secrets processing to use compact jq output in deployment workflow
1 parent 2e1dcdc commit d79c178

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy-aca-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
run: |
4545
echo "Original KEY_VALUE_VALUES=${{ secrets.KEY_VALUE_VALUES }}"
4646
# Re-quote the secrets to ensure they are valid JSON
47-
KEY_VALUE_VALUES=$(echo '${{ secrets.KEY_VALUE_VALUES }}' | jq )
47+
KEY_VALUE_VALUES=$(echo '${{ secrets.KEY_VALUE_VALUES }}' | jq -c )
4848
echo "Reformatted KEY_VALUE_VALUES=$KEY_VALUE_VALUES"
4949
echo "KEY_VALUE_VALUES=$KEY_VALUE_VALUES" >> $GITHUB_ENV
5050

0 commit comments

Comments
 (0)