Skip to content

Commit 37b39a9

Browse files
author
victhorbi
committed
ci: pass NEXT_PUBLIC_TRANSAK_* secrets to preview deploy
pull_request_target runs the workflow from main, not the PR branch. These env vars must be on main for preview builds to inline them.
1 parent b8384f6 commit 37b39a9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎.github/workflows/deploy-preview.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ jobs:
6969
NEXT_PUBLIC_PRIVY_APP_ID: ${{ secrets.NEXT_PUBLIC_PRIVY_APP_ID }}
7070
NEXT_PUBLIC_PRIVY_CLIENT_ID: ${{ secrets.NEXT_PUBLIC_PRIVY_CLIENT_ID }}
7171
NEXT_PUBLIC_DELEGATOR_URL: ${{ secrets.NEXT_PUBLIC_DELEGATOR_URL }}
72+
NEXT_PUBLIC_TRANSAK_API_KEY: ${{ secrets.NEXT_PUBLIC_TRANSAK_API_KEY }}
73+
NEXT_PUBLIC_TRANSAK_API_URL: ${{ secrets.NEXT_PUBLIC_TRANSAK_API_URL }}
7274
NEXT_PUBLIC_NETWORK_TYPE: 'main'
7375
AWS_REGION: eu-west-1
7476
BRANCH_NAME: ${{ github.event.pull_request.head.ref }}

0 commit comments

Comments
 (0)