Skip to content

Commit 2ea2216

Browse files
committed
Revert "compact flow diagram to 4 nodes"
This reverts commit 5ed237f.
1 parent 5ed237f commit 2ea2216

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,17 @@ CI runs automatically on push to main and PRs with 5 parallel validation jobs.
5151

5252
```mermaid
5353
flowchart TD
54-
A["Cron polls GHCR for latest semver tags"] --> B["Compare with .env — create PR if changed"]
55-
B --> C["PR merges → deploy to server"]
56-
C --> D["Slack notification with versions"]
54+
A["Cron schedule"] --> B["Query GHCR API + semver filter"]
55+
B --> C{"New tags?"}
56+
C -- Yes --> D["Read current tags from .env"]
57+
D --> E{"Changed?"}
58+
E -- Yes --> F["Update .env via sed"]
59+
F --> G["Create PR + auto-merge"]
60+
G --> H["PR merges to deploy branch"]
61+
H --> I{"paths filter"}
62+
I -- Match --> J["Copy files to server"]
63+
J --> K["docker compose up"]
64+
K --> L["Slack notify"]
5765
```
5866

5967
Three deployment strategies: EC2/AWS, SSH, or self-hosted runner.

0 commit comments

Comments
 (0)