deploy(frontend): don't wrap quotes around value

This commit is contained in:
Michael H.
2026-01-08 18:37:49 +01:00
parent c1da3e7e95
commit 4f6cb7f26c

View File

@@ -59,10 +59,10 @@ jobs:
run: | run: |
if [ "${{ steps.meta.outputs.env }}" == "staging" ]; then if [ "${{ steps.meta.outputs.env }}" == "staging" ]; then
echo "Injecting staging variables from wrangler.jsonc..." echo "Injecting staging variables from wrangler.jsonc..."
jq -r '.env.staging.vars | to_entries[] | "\(.key)=\(.value|@sh)"' wrangler.jsonc >> $GITHUB_ENV jq -r '.env.staging.vars | to_entries[] | "\(.key)=\(.value)"' wrangler.jsonc >> $GITHUB_ENV
else else
echo "Injecting production variables from wrangler.jsonc..." echo "Injecting production variables from wrangler.jsonc..."
jq -r '.vars | to_entries[] | "\(.key)=\(.value|@sh)"' wrangler.jsonc >> $GITHUB_ENV jq -r '.vars | to_entries[] | "\(.key)=\(.value)"' wrangler.jsonc >> $GITHUB_ENV
fi fi
- name: Install dependencies - name: Install dependencies