You've already forked AstralRinth
forked from didirus/AstralRinth
deploy(frontend): don't wrap quotes around value
This commit is contained in:
4
.github/workflows/frontend-deploy.yml
vendored
4
.github/workflows/frontend-deploy.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user