-
Notifications
You must be signed in to change notification settings - Fork 2
/
amplify.yml
27 lines (27 loc) · 897 Bytes
/
amplify.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
version: 1
frontend:
phases:
preBuild:
commands:
- npm ci --cache .npm --prefer-offline
build:
commands:
- npm run build
- echo "NEXTAUTH_SECRET=$NEXTAUTH_SECRET" >> .env
- echo "NEXTAUTH_URL=$NEXTAUTH_URL" >> .env
- echo "JWT_SECRET=$JWT_SECRET" >> .env
- echo "DATABASE_URL=$DATABASE_URL" >> .env
- echo "OPENAI_API_KEY=$OPENAI_API_KEY" >> .env
- echo "GOOGLE_CLIENT_ID=$GOOGLE_CLIENT_ID" >> .env
- echo "GOOGLE_CLIENT_SECRET=$GOOGLE_CLIENT_SECRET" >> .env
- echo "LINKEDIN_CLIENT_ID=$LINKEDIN_CLIENT_ID" >> .env
- echo "LINKEDIN_CLIENT_SECRET=$LINKEDIN_CLIENT_SECRET" >> .env
- echo "NEXT_PUBLIC_TINYMCE_API_KEY=$NEXT_PUBLIC_TINYMCE_API_KEY" >> .env
artifacts:
baseDirectory: .next
files:
- '**/*'
cache:
paths:
- .next/cache/**/*
- .npm/**/*