batuhan/Sync Notion to Git
Easily sync the Notion pages you need to Git.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| notion_token | Notion integration token with read permissions. | yes | — |
| github_token | Token used for committing changes back to the repository. | yes | ${{ github.token }} |
| mode | Sync mode. Use "changed" for changed manifests or "full" for all manifests. | no | changed |
| path_filter | Glob filter used to discover manifest files. | no | **/.notion.txt |
| assets_dir | Reserved for future asset handling. Currently unused. | no | notion-assets |
| commit | Commit generated changes back to the repository. | no | true |
| dry_run | If true, do not write files or create commits. | no | false |
| commit_user_name | Git author name for auto-commits. | no | github-actions[bot] |
| commit_user_email | Git author email for auto-commits. | no | 41898282+github-actions[bot]@users.noreply.github.com |
Outputs
| name | description |
|---|---|
| synced_pages | Number of Notion pages written to Markdown. |
| synced_assets | Number of assets downloaded. Currently always 0. |
| changed_files | Comma-separated list of Markdown files written by the action. |