Skip to content

Commit a161cdc

Browse files
committed
adding more debug
1 parent 6270541 commit a161cdc

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/platform_monitor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Daily Platform Status Check
22

33
on:
4+
push:
45
schedule:
56
# Runs every day at 10:00 AM IST (04:30 UTC)
67
- cron: '30 4 * * *'

monitor/checks.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ def check_url(url: str, timeout: int = 10) -> dict:
2222
return {"url": url, "status": "Success", "status_code": 200, "error": None}
2323

2424
if r.status_code == 403:
25+
print("🔥🔥🔥 inside 403 block", host)
2526
if host.endswith("substack.com") or host == "substack.com":
27+
print("✅ Substack override triggered")
2628
return {
2729
"url": url,
2830
"status": "Success (403 allowed)",

0 commit comments

Comments
 (0)