https://github.com/joogps/blog
This repository stores the JavaScript worker code that serves my Notion blog on Cloudflare
https://github.com/joogps/blog
actions blog cloudflare javascript js notion worker
Last synced: 3 months ago
JSON representation
This repository stores the JavaScript worker code that serves my Notion blog on Cloudflare
- Host: GitHub
- URL: https://github.com/joogps/blog
- Owner: joogps
- License: mit
- Created: 2022-03-09T22:02:16.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-10T00:30:46.000Z (over 4 years ago)
- Last Synced: 2025-03-04T01:33:47.726Z (over 1 year ago)
- Topics: actions, blog, cloudflare, javascript, js, notion, worker
- Language: JavaScript
- Homepage: https://blog.joogps.codes
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# blog
This repository stores the JavaScript [worker code](https://github.com/joogps/blog/blob/main/index.js) that serves my Notion blog on Cloudflare.
## How does it work?
First, I have my [Notion](https://notion.so) blog set up as a [public page](https://blog.joogps.codes) in my Workspace. To serve it in a custom domain, I used the free [Fruition](https://fruitionsite.com) script hosted on a Cloudflare Worker. The domain used is the same as the one from my personal website, but with an added `.blog` subdomain.
A wrangler deploy GitHub action is executed at every branch push, so that the code always stays up to date. The code for the action can be found in the repository.