Skip to content

Commit 82da38f

Browse files
committed
fix wf
1 parent aa61e97 commit 82da38f

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/build-reusable.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,16 @@ jobs:
7070
echo "NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=$NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY" >> .env
7171
echo "NEXT_PUBLIC_CONVEX_URL=$NEXT_PUBLIC_CONVEX_URL" >> .env
7272
echo "CONVEX_DEPLOYMENT=$CONVEX_DEPLOYMENT" >> .env
73-
74-
# Build
73+
74+
# Build the application with environment variables
75+
NEXT_PUBLIC_CONVEX_URL=${NEXT_PUBLIC_CONVEX_URL} \
76+
CONVEX_DEPLOYMENT=${CONVEX_DEPLOYMENT} \
77+
CLERK_SECRET_KEY=${CLERK_SECRET_KEY} \
78+
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=${NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY} \
79+
LIVE_BLOCK_SECRET_API_KEY=${LIVE_BLOCK_SECRET_API_KEY} \
7580
pnpm build
81+
82+
# Set output for the workflow
7683
echo "result=success" >> $GITHUB_OUTPUT
7784
7885
- name: Upload build artifacts

0 commit comments

Comments
 (0)