File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 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 -c )
47+ KEY_VALUE_VALUES=$(echo '${{ secrets.KEY_VALUE_VALUES }}' | jq -R 'split(",")' - c )
4848 echo "Reformatted KEY_VALUE_VALUES=$KEY_VALUE_VALUES"
4949 echo "KEY_VALUE_VALUES=$KEY_VALUE_VALUES" >> $GITHUB_ENV
5050
5555 az group create -l ${{ env.location }} -n ${{ env.resource-group-name}}
5656 az deployment group create --resource-group ${{ env.resource-group-name }} \
5757 --name todo-webapi-aca \
58- --parameters ./iac/main-deploy-aca.bicepparam keyValueNames="$KEY_VALUE_KEYS" keyValueValues='$(echo '${{ secrets. KEY_VALUE_VALUES }}' | jq -c ) '
58+ --parameters ./iac/main-deploy-aca.bicepparam keyValueNames="${{secrets. KEY_VALUE_KEYS}} " keyValueValues='$KEY_VALUE_VALUES'
5959
6060 - name : Azure CLI script
6161 uses : azure/CLI@v1
You can’t perform that action at this time.
0 commit comments