From 01f012fc26d89840ba6e309318de787cabaf9888 Mon Sep 17 00:00:00 2001 From: lerko96 Date: Sun, 12 Apr 2026 21:23:57 -0400 Subject: [PATCH 1/2] docs: update README for Gitea/self-hosted setup drop GitHub Pages references, document actual deploy flow via Gitea Actions + rsync to portfolio LXC --- README.md | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 489a7365..2376f44c 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# lerko96 portfolio +# Tyler Koenig portfolio -Personal portfolio site. Live at [lerkolabs.com](https://lerkolabs.com) — self-hosted, deployed and maintained through my own operation. +Personal portfolio site. Live at [lerkolabs.com](https://lerkolabs.com) — self-hosted. -Source lives on my Gitea at [gitea.lerkolabs.com](https://gitea.lerkolabs.com). GitHub is a backup mirror, not the primary. +Source: [gitea.lerkolabs.com](https://gitea.lerkolabs.com) **Stack:** Next.js 16 · React 19 · TypeScript · Tailwind v4 @@ -10,8 +10,8 @@ Source lives on my Gitea at [gitea.lerkolabs.com](https://gitea.lerkolabs.com). ## Branches -- `dev` — source code, all work happens here -- `master` — built output only; what GitHub Pages serves for the backup mirror. don't touch this manually. +- `dev` — source code; pushing here updates lerkolabs.com +- `master` — reserved for future GitHub mirror; don't touch manually --- @@ -20,16 +20,20 @@ Source lives on my Gitea at [gitea.lerkolabs.com](https://gitea.lerkolabs.com). ```bash npm run dev # dev server at localhost:3000 npm run build # static export into out/ -npm run deploy # build + push out/ to master (GitHub mirror) ``` --- -## How it deploys +## Deploy -`npm run deploy` runs `predeploy` (build) then pushes the `out/` directory to `master` via `gh-pages`. That's what feeds the GitHub Pages backup mirror. +```bash +git checkout dev && git merge && git push gitea dev +``` -`postbuild` drops `out/.nojekyll` so GitHub Pages doesn't ignore `_next/` assets. +Push to `dev` triggers Gitea Actions (`.gitea/workflows/deploy.yml`): +1. Builds the static site (`npm run build`) +2. rsyncs `out/` to the portfolio LXC +3. Rebuilds and restarts the Docker container serving lerkolabs.com --- -- 2.49.1 From a9b73fd08e4a594cb8e590c95bec5d6b40f91898 Mon Sep 17 00:00:00 2001 From: lerko96 Date: Sun, 12 Apr 2026 21:38:17 -0400 Subject: [PATCH 2/2] fix(docs): correct Gitea repo link in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2376f44c..567126d7 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Personal portfolio site. Live at [lerkolabs.com](https://lerkolabs.com) — self-hosted. -Source: [gitea.lerkolabs.com](https://gitea.lerkolabs.com) +Source: [gitea.lerkolabs.com/lerko/lerkolabs.com](https://gitea.lerkolabs.com/lerko/lerkolabs.com) **Stack:** Next.js 16 · React 19 · TypeScript · Tailwind v4 -- 2.49.1