c4k-website/doc/architecture.md

21 lines
476 B
Markdown
Raw Normal View History

2024-02-21 17:14:57 +00:00
# GitOps for Websites
2022-07-29 09:43:30 +00:00
```mermaid
2024-02-21 17:14:57 +00:00
sequenceDiagram
Actor a as Website Author
participant j as Job triggerd by Cron
participant f as Forgejo Instance
participant g as Your Git Repo for Website
a ->> g: commit & push some new content
j ->> f: check repo hash for new commits
activate j
f ->> g: get lates commit hash
f -->> j:
j ->> f: download repo
j ->> j: generate.sh
j ->> j: cp /target/html to website
deactivate j
2022-07-29 09:43:30 +00:00
```