Skip to content
Minsing Log
Go back

English Edition

What I Learned While Deploying a Blog with Cloudflare Pages

Build Log

At first, I thought I could just run the blog on my laptop. But if the laptop is turned off, the site goes down too. A public blog should be hosted on a deployment service rather than a personal device.

This time, I used Cloudflare Pages.

Deployment structure

The code is on GitHub, and the build output is uploaded to Cloudflare Pages. Visitors receive the site from Cloudflare’s CDN, not from my laptop.

The advantages of this structure are simple.

What actually mattered

I used the AstroPaper template, and Node version 22 or higher was required. If the local Node version is too low, the build may fail. In the deployment environment, you must specify NODE_VERSION=22.12.0.

The smaller the blog, the stronger a simple static deployment is compared to a complex server.

공개 여정 구독

글이 올라오면 이메일로 보내드릴게요.

개발, 창업, 배움, 실패와 회고를 짧고 솔직하게 기록합니다. 검색으로 스쳐가는 독자가 아니라 여정을 따라오는 팬을 만들기 위한 뉴스레터입니다.

뉴스레터는 준비 중입니다. 그동안 RSS 로 구독하거나 이메일 로 알림을 요청해 주세요.


Share this post:

Comments

Sign in with GitHub to leave a comment.


Previous Post
Why I Write Build Logs
Next Post
The Structure That Makes People Come Back to a Blog