This is a widget for Notion based on saman/notion-quote
. Two key differences:
- Widget is hosted as a Github page (so no extra dependency)
- A Github Action syncs data from a simple table from Notion, so quotes can be managed from Notion.
- Fork this repo
- Setup this repo with a github page (docs)
- For source, select
Deploy from a branch
- For branch, select
master
- Press
Save
- Setup Notion integration (docs)
- Only Capability required is
Content Capabilities
/Read Content
- Remember to store secret key for integration (we'll use it next).
- Save Notion integration key to Github Secret
- Go to https://github.com//notion-quote/settings/secrets/actions
- Click
New Repository Secret
- Name:
NOTION_API_KEY
- Value: Paste in value from above.
- Add Notion integration to Notion page.
- Go to Notion page with quote table.
- CLick
Share
(top right hand corner) - Click
Add emails, people, integrations
- Find, and click, the name of the integration made above