Skip to content

Commit 2e1dcdc

Browse files
Refactor key value secrets processing to simplify jq command in deployment workflow
1 parent 9fd7b96 commit 2e1dcdc

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 -R 'split(",")')
47+
KEY_VALUE_VALUES=$(echo '${{ secrets.KEY_VALUE_VALUES }}' | jq )
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)