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 GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
GITHUB_TOKENGitHub Tokenyes
NOTION_SECRETNotion API Token secretyes
NOTION_DATABASENotion Database URL or ID (example: https://notion.so/00112233445566778899aabbccddeeff)yes
FILTER_PROPProperty on the database used to query pages (default:Status)no
FILTER_VALUESReturn pages with the FILTER_PROP is equal this list of values (default:Ready,Published)no
CONVERT_PROP_CASEConvert the database property names before adding to the frontmatter (camel,pascal,kebab,snake,none) (default:snake)no
ARTICLE_PATHPath template to where to save markdown files (default="posts/{title}/index.md")no
ASSETS_PATHPath to save images, if started with . will be relative to ARTICLE_PATH, otherwise absolute (default=".")no
PARALLEL_PAGESFetch this amount of pages in parallel (default=3)'no
PARALLEL_DOWNLOADS_PER_PAGENumber of images to download in parallel for each page (default=3)no
DOWNLOAD_IMAGE_TIMEOUTTimeout in seconds for each image download (default=30)no
SKIP_DOWNLOADED_IMAGESSkip downloading images if they already exist in the path (default=true)no
DOWNLOAD_FRONTMATTER_IMAGESDownloads image urls in the frontmatterno

no outputs