23 lines
422 B
Markdown
23 lines
422 B
Markdown
# Webseite Stines – Hugo + Terraform GitOps
|
||
|
||
## Workflow
|
||
|
||
### Staging (automatisch bei Push auf `main`)
|
||
- Terraform prüft ob Staging-LXC existiert → erstellt ihn falls nicht
|
||
- Hugo baut die Site
|
||
- Deploy auf `staging.stines.de`
|
||
|
||
### Production (bei Git Tag `v*`)
|
||
```bash
|
||
git tag v1.0.0
|
||
git push origin v1.0.0
|
||
```
|
||
- Hugo baut die Site
|
||
- Deploy auf `stines.de`
|
||
|
||
## Lokale Entwicklung
|
||
```bash
|
||
cd hugo
|
||
hugo server -D
|
||
```
|