Skip to content

Commit d8829b1

Browse files
committed
pass meta vars
1 parent 1dac0b4 commit d8829b1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
ENVIRONMENT=Staging
7979
RELEASE_NAME=${{ github.ref_name }}
8080
fi
81-
CORS=$(echo "^https://${{ env.RELEASE_NAME}}.apip.preprod-tilleuls.ovh|$CORS_LOCALHOST$" | sed 's/\./\\./g' )
81+
CORS=$(echo "^https://${RELEASE_NAME}.apip.preprod-tilleuls.ovh|$CORS_LOCALHOST$" | sed 's/\./\\./g' )
8282
NAMESPACE=nonprod-website
8383
REPLICA=1
8484
URL=$RELEASE_NAME.apip.preprod-tilleuls.ovh
@@ -90,6 +90,8 @@ jobs:
9090
echo "release_name=$RELEASE_NAME" >> "$GITHUB_OUTPUT"
9191
echo "replica=$REPLICA" >> "$GITHUB_OUTPUT"
9292
echo "url=$URL" >> "$GITHUB_OUTPUT"
93+
echo "secret=${{ secrets.pgpasswd }}" >> "$GITHUB_OUTPUT"
94+
9395
cat $GITHUB_OUTPUT
9496
9597
@@ -168,7 +170,7 @@ jobs:
168170
--set=php.host=${{ needs.meta.outputs.url }} \
169171
--set=next.rootUrl=${{ needs.meta.outputs.url }} \
170172
--set=github.key=${{ secrets.gh-key }} \
171-
--set=postgresql.global.postgresql.auth.password=${{ secrets.pgpasswd }} \
173+
--set=postgresql.global.postgresql.auth.password="${{ secrets.pgpasswd }}" \
172174
--set=postgresql.global.postgresql.auth.username=website \
173175
| sed --unbuffered '/USER-SUPPLIED VALUES/,$d'
174176
- name: Debug kube events

0 commit comments

Comments
 (0)