actions-marketplace-validations/notion-jam
A export Notion pages to markdown and images to be used as JAM stack (static website, github pages, eleventy...)
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| GITHUB_TOKEN | GitHub Token | yes | — |
| NOTION_SECRET | Notion API Token secret | yes | — |
| NOTION_DATABASE | Notion Database URL or ID (example: https://notion.so/00112233445566778899aabbccddeeff) | yes | — |
| FILTER_PROP | Property on the database used to query pages (default:Status) | no | — |
| FILTER_VALUES | Return pages with the FILTER_PROP is equal this list of values (default:Ready,Published) | no | — |
| CONVERT_PROP_CASE | Convert the database property names before adding to the frontmatter (camel,pascal,kebab,snake,none) (default:snake) | no | — |
| ARTICLE_PATH | Path template to where to save markdown files (default="posts/{title}/index.md") | no | — |
| ASSETS_PATH | Path to save images, if started with . will be relative to ARTICLE_PATH, otherwise absolute (default=".") | no | — |
| PARALLEL_PAGES | Fetch this amount of pages in parallel (default=3)' | no | — |
| PARALLEL_DOWNLOADS_PER_PAGE | Number of images to download in parallel for each page (default=3) | no | — |
| DOWNLOAD_IMAGE_TIMEOUT | Timeout in seconds for each image download (default=30) | no | — |
| SKIP_DOWNLOADED_IMAGES | Skip downloading images if they already exist in the path (default=true) | no | — |
| DOWNLOAD_FRONTMATTER_IMAGES | Downloads image urls in the frontmatter | no | — |
Outputs
no outputs