Skip to content

Sync Goodreads to Notion #225

Sync Goodreads to Notion

Sync Goodreads to Notion #225

Workflow file for this run

name: Sync Goodreads to Notion
on:
schedule:
# Run every 6 hours
- cron: '0 */6 * * *'
workflow_dispatch:
# Allow manual trigger
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Set up Python
run: uv python install
- name: Install dependencies
run: uv sync
- name: Sync from RSS
run: uv run goodreads2notion sync-rss --user-id "$GOODREADS_USER_ID"
env:
NOTION_TOKEN: ${{ secrets.NOTION_TOKEN }}
NOTION_DATABASE_ID: ${{ secrets.NOTION_DATABASE_ID }}
GOODREADS_USER_ID: ${{ secrets.GOODREADS_USER_ID }}