pirafrank/pirafrank/notion-to-jekyll
A tool to manage Jekyll drafts and posts (including assets) via Notion
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| notion-token | Notion integration auth web token | yes | — |
| notion-database-id | ID of the Notion database to fetch blog posts from | yes | — |
| relative-date | Int as string to determine the numbers of days of posts to fetch from Notion | yes | — |
| site-url | Website URL, including protocol. Used to generate the `permalink` front matter | yes | — |
| site-baseurl | Website base URL. Used to generate the `permalink` front matter | no | — |
| jekyll-root | Root directory of the Jekyll website. Do not set if root coincides with the git repo root | no | — |
| drafts-dir | Directory where drafts are saved | no | — |
| posts-dir | Directory where posts are saved | no | — |
| assets-dir | Directory where assets are saved (e.g. images and attachments from Notion) | no | — |
| publish-to-posts | If "true" converted pages should be published to _posts. Otherwise saves to _drafts. | no | — |
| notion-to-jekyll-user | Notion user to filter posts by | no | — |
| notion-page-type | Notion page type to filter posts by | no | — |
| notion-ready-status | Notion status of pages to process | no | — |
| notion-done-status | Notion status to set for published pages | no | — |
| dry-run | If "true" runs in dry-run mode | no | — |
| debuginfo | If non null, prints debug info | no | — |
Outputs
| name | description |
|---|---|
| changed | List of files added or changed in the Jekyll site |
| deleted | List of files deleted from the Jekyll site |
| dry-run | If "true", it run in dry-run mode |