You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
notion-to-markdown-action
v0.1.3
This action converts and downloads pages that exist in Notion's specified database to a markdown files.
.github/workflows/download.yml
name: download
on:
schedule:
- cron: '0 0 * * *'
jobs:
import:
runs-on: ubuntu-latest
steps:
- uses: ega4432/notion-to-markdown-action@v0
env:
NOTION_API_KEY: ${{ secrets.NOTION_API_KEY }}
NOTION_DATABASE_ID: ${{ secrets.NOTION_DATABASE_ID }}
with:
# Optional
output_path: some-dir # default: output
API key of Notion integrations
- required
Database ID of target Notion page.
- required
Directory path to output files.
- optional
- default:
output