Skip to content

Commit fd6786a

Browse files
authored
Create README.md
1 parent 89faa77 commit fd6786a

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# fetch-notion
2+
3+
Github action that imports `nature-of-code` content on Notion as static HTMLs.
4+
5+
## Inputs
6+
7+
### `notion-secret`
8+
9+
**Required** The access secret for notion.
10+
11+
### `notion-database-id`
12+
13+
**Required** The `id` of the content database.
14+
15+
### `output-folder`
16+
17+
The output folder for HTMLs. Default `content/`.
18+
19+
## Example usage
20+
21+
```yaml
22+
uses: nature-of-code/fetch-notion@main
23+
with:
24+
notion-secret: ${{ secrets.NOTION_SECRET }}
25+
notion-database-id: ${{ secrets.NOTION_DATABASE_ID }}
26+
```

0 commit comments

Comments
 (0)