Skip to content

Commit c9219e1

Browse files
pnpm build before
1 parent de391d1 commit c9219e1

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

amplify.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ frontend:
88

99
build:
1010
commands:
11-
# Inject env vars BEFORE build
11+
- pnpm run build
1212
- 'echo "GEMINI_API_KEY=$GEMINI_API_KEY" >> .env.production'
1313
- 'echo "GOOGLE_CLIENT_EMAIL=$GOOGLE_CLIENT_EMAIL" >> .env.production'
1414
- 'echo "GOOGLE_PRIVATE_KEY=$GOOGLE_PRIVATE_KEY" >> .env.production'
@@ -25,8 +25,7 @@ frontend:
2525
- 'echo "UPSTASH_REDIS_REST_URL=$UPSTASH_REDIS_REST_URL" >> .env.production'
2626
- 'echo "UPSTASH_REDIS_REST_TOKEN=$UPSTASH_REDIS_REST_TOKEN" >> .env.production'
2727

28-
# Now run build
29-
- pnpm run build
28+
3029

3130
artifacts:
3231
baseDirectory: .next

src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export default function RootLayout({
133133
<Toaster position="top-right" reverseOrder={false} />
134134
<div className="bg-[#F3F5FF] dark:bg-[#070114]">
135135
<CoursesProvider>
136-
<Navbar />
136+
\ <Navbar />
137137
<ChildrenWrapper>{children}</ChildrenWrapper>
138138
<Footer />
139139
</CoursesProvider>

0 commit comments

Comments
 (0)