Skip to content
/ notion-cover Public template

A tool to update your notion page cover image using GitHub actions and Unsplash API.

License

Notifications You must be signed in to change notification settings

eduardostuart/notion-cover

Repository files navigation

Notion cover

A tool to update your notion page cover image using GitHub actions and Unsplash API.

Requirements

  1. Unsplash API key
  2. Notion token
  3. Notion page id

Usage

  1. Click on Use this template
  2. Add the 3 required secrets to your repository:
  • NOTION_TOKEN: Your notion token
  • NOTION_PAGE_ID: Your notion page id
  • UNSPLASH_API_KEY: Your unsplash api key

Final, but optional, you can change the unsplash collection ids using UNSPLASH_COLLECTIONS env variable.

If you want to change the frequency of the cover update, you can change the cron expression in .github/workflows/update.yml file. By default, it runs every day at 6AM.

About

A tool to update your notion page cover image using GitHub actions and Unsplash API.

Topics

Resources

License

Stars

Watchers

Forks