Initial: Hugo + Terraform Staging/Production Pipeline
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# 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
|
||||
```
|
||||
Reference in New Issue
Block a user