Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to provide blog index through env also
- Loading branch information
Showing
4 changed files
with
42 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
{ | ||
"build": { | ||
"env": { | ||
"NOTION_TOKEN": "@notion-token" | ||
"NOTION_TOKEN": "@notion-token", | ||
"BLOG_INDEX_ID": "@blog-index-id" | ||
} | ||
}, | ||
"env": { | ||
"NOTION_TOKEN": "@notion-token" | ||
"NOTION_TOKEN": "@notion-token", | ||
"BLOG_INDEX_ID": "@blog-index-id" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export const NOTION_TOKEN = process.env.NOTION_TOKEN | ||
export const BLOG_INDEX_ID = process.env.BLOG_INDEX_ID | ||
export const API_ENDPOINT = 'https://www.notion.so/api/v3' | ||
export const BLOG_INDEX_ID = 'f8552190-ae27-4227-a36c-68dd7c9863b5' |
43e6a8e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deployment failed with the following error: