Skip to content

Commit c4ade8e

Browse files
committed
quote sting cors
1 parent 4b7c2d7 commit c4ade8e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ jobs:
7272
else
7373
CONTEXT=nonprod
7474
if [ "$GITHUB_EVENT_NAME" == "pull_request" ]; then
75-
ENVIRONMENT=Preview
75+
ENVIRONMENT=preview
7676
RELEASE_NAME=pr-$(jq --raw-output .pull_request.number "$GITHUB_EVENT_PATH")
7777
else
78-
ENVIRONMENT=Staging
78+
ENVIRONMENT=staging
7979
RELEASE_NAME=${{ github.ref_name }}
8080
fi
8181
CORS=$(echo "^https://${RELEASE_NAME}.apip.preprod-tilleuls.ovh|$CORS_LOCALHOST$" | sed 's/\./\\./g' )
@@ -166,7 +166,7 @@ jobs:
166166
--set=php.jwt.secretKey="$JWT_SECRET_KEY" \
167167
--set=php.jwt.publicKey="$(openssl pkey -in <(echo "$JWT_SECRET_KEY") -passin file:<(echo "$JWT_PASSPHRASE") -pubout)" \
168168
--set=php.jwt.passphrase=$JWT_PASSPHRASE \
169-
--set=php.corsAllowOrigin=${{ needs.meta.outputs.cors }} \
169+
--set=php.corsAllowOrigin="${{ needs.meta.outputs.cors }}" \
170170
--set=php.host=${{ needs.meta.outputs.url }} \
171171
--set=next.rootUrl=${{ needs.meta.outputs.url }} \
172172
--set=github.key=${{ secrets.gh-key }} \

0 commit comments

Comments
 (0)