NextJS to Cloudflare Blog Tutorial - Setting Up Gitea CI/CD
This covers basic project setup and CI/CD configurations for the NextJS website. I assume you already have a cloudflare account, a Gitea (or Github) repo, a configured Gitea action runner instance connected (You do not need to set one up for Github), Node installed to at least version 22, and PNPM installed on your machine. VsCode is my recommended IDE, since both gitea and github interfaces quite well with it.
Step 1 - Setup NextJS project
Run the command.
pnpm create next-app@latest blog-app
Once you run the command, it'll prompt you with some questions.
TODO: Complete the tutorial. I'll do it later... In maybe a week or so.
Update from 4/6/2026: I did not update the tutorial. My dog passed away from a kidney stone a few days after writing this tutorial, and I have no idea what the heck is going on with this webpage. I'll miss you Mimi.
I have no plans to complete this tutorial, so just follow NextJS from here. Once you've created a blog you like, then setup a docker container with gittea. You just need to do a git pull/push to it, then just configure the github actions like the flintech person did in his blog.