A tool to update your notion page cover image using GitHub actions and Unsplash API.
- Click on
Use this template
- Add the 3 required secrets to your repository:
NOTION_TOKEN
: Your notion tokenNOTION_PAGE_ID
: Your notion page idUNSPLASH_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.