Skip to content

Commit 0abd499

Browse files
authored
Update update.yml
Signed-off-by: Laurensius Jeffrey <[email protected]>
1 parent ef812f9 commit 0abd499

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

.github/workflows/update.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,19 @@ jobs:
5050
judi_count=$(grep -chE '.' situs_judi.txt_part_* 2>/dev/null || grep -cE '.' situs_judi.txt 2>/dev/null || echo 0)
5151
5252
# Prepare summary
53-
summary="<!-- SUMMARY:START -->
54-
### 🧾 Blocklist Summary (Last Updated: $now)
55-
56-
| List | Entries |
57-
|--------------|---------|
58-
| Domains | $domain_count |
59-
| IP Address | $ip_count |
60-
| Situs Judi | $judi_count |
61-
62-
<!-- SUMMARY:END -->"
53+
summary=$(cat <<EOF
54+
<!-- SUMMARY:START -->
55+
### 🧾 Blocklist Summary (Last Updated: $now)
56+
57+
| List | Entries |
58+
|--------------|---------|
59+
| Domains | $domain_count |
60+
| IP Address | $ip_count |
61+
| Situs Judi | $judi_count |
62+
63+
<!-- SUMMARY:END -->
64+
EOF
65+
)
6366
6467
# Replace summary block in README.md
6568
tmpfile=$(mktemp)

0 commit comments

Comments
 (0)