Add README
Build & Deploy / deploy (push) Successful in 24s

This commit is contained in:
2026-06-06 19:22:10 +02:00
parent b6d45c9b61
commit af2b0c2cd6
+23
View File
@@ -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`.