-
Notifications
You must be signed in to change notification settings - Fork 7
/
netlify.toml
24 lines (21 loc) · 1.02 KB
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[build]
command = "yarn install && yarn relay && yarn build && yarn next-on-netlify"
publish = "out_publish"
functions = "out_functions/"
environment = { NETLIFY = "true" }
[context]
environment = { NETLIFY = "true"}
[template.environment]
NEXT_PUBLIC_ONEGRAPH_APP_ID = "Your OneGraph app id"
NEXT_PUBLIC_GITHUB_REPO_NAME = "Name of the repo that OneBlog should pull issues from"
NEXT_PUBLIC_GITHUB_REPO_OWNER = "Owner of the repo that OneBlog should pull issues from"
NEXT_PUBLIC_TITLE = "The title of the blog"
NEXT_PUBLIC_DESCRIPTION="Description of the blog"
NEXT_PUBLIC_SITE_HOSTNAME="Hostname for your blog, e.g. https://example.com"
NEXT_PUBLIC_DEFAULT_GITHUB_LOGIN="The github login for the owner of the blog"
OG_GITHUB_TOKEN = "The server-side token from OneGraph that will be used in persisted queries"
OG_DASHBOARD_ACCESS_TOKEN = "The OneGraph API token that allows the build to create persisted queries"
[[redirects]]
from = "/feed*"
to = "/.netlify/functions/next_api_feed_ext"
status = 200