Skip to content

Commit e13ef0e

Browse files
committed
text fix json
1 parent a0135e3 commit e13ef0e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ jobs:
9999
id-token: 'write'
100100
environment:
101101
name: ${{ needs.meta.outputs.environment }}
102+
needs: ["meta"]
102103
steps:
103104
- name: Checkout
104105
uses: actions/checkout@v3
@@ -160,6 +161,7 @@ jobs:
160161
--set=php.jwt.secretKey="$JWT_SECRET_KEY" \
161162
--set=php.jwt.publicKey="$(openssl pkey -in <(echo "$JWT_SECRET_KEY") -passin file:<(echo "$JWT_PASSPHRASE") -pubout)" \
162163
--set=php.jwt.passphrase=$JWT_PASSPHRASE \
164+
--set=php.corsAllowOrigin="^$(echo "${{ join(fromJSON(needs.meta.outputs.cors), '|') }}" | sed 's/\./\\./g')$" \
163165
--set=php.host=${{ env.URL }} \
164166
--set=next.rootUrl=${{ env.URL }} \
165167
--set=github.key=${{ secrets.gh-key }} \

0 commit comments

Comments
 (0)