An open API service indexing awesome lists of open source software.

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

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.