From af2b0c2cd61ea71eebea149a23fae2c311361fd6 Mon Sep 17 00:00:00 2001 From: Demian Date: Sat, 6 Jun 2026 19:22:10 +0200 Subject: [PATCH] Add README --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..bc50bc5 --- /dev/null +++ b/README.md @@ -0,0 +1,23 @@ +# pyte.dev + +Personal blog built with [Hugo](https://gohugo.io) using the [Mana](https://github.com/Livour/hugo-mana-theme) theme. + +## Create a new post + +```bash +hugo new content content/posts/my-post-title.md +``` + +Set `draft = false` in the frontmatter when ready to publish. + +## Deploy + +Pushing to the `main` branch triggers a [Gitea Action](.gitea/workflows/deploy.yml) that: + +1. Checks out the repo with submodules +2. Builds the site with `hugo --minify` +3. Generates the search index with pagefind +4. Copies the static files via SCP to the server +5. Sets correct permissions + +The site is served by an nginx container with a bind mount to `/opt/docker/website/public`.