Files
demian af2b0c2cd6
Build & Deploy / deploy (push) Successful in 24s
Add README
2026-06-06 19:22:10 +02:00

24 lines
672 B
Markdown

# 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`.