Skip to content

Commit f86a499

Browse files
committed
Switching to URL-Based Monitoring System
1 parent e4d5998 commit f86a499

File tree

6 files changed

+164
-407
lines changed

6 files changed

+164
-407
lines changed

.github/workflows/monitor-friday.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Monitor Alt Clouds - Monday (Batch 1)
1+
name: Monitor Alt Clouds - URL-based (Weekly)
22

33
on:
44
schedule:
@@ -26,12 +26,11 @@ jobs:
2626
run: |
2727
pip install anthropic requests beautifulsoup4 lxml
2828
29-
- name: Run news monitoring (Batch 1)
29+
- name: Run URL-based monitoring
3030
env:
3131
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
32-
CATEGORY_BATCH: "1"
3332
run: |
34-
python scripts/monitor_news.py
33+
python scripts/monitor_news_urls.py
3534
3635
- name: Evaluate candidates
3736
env:
@@ -50,10 +49,11 @@ jobs:
5049
git config user.name "github-actions[bot]"
5150
git config user.email "github-actions[bot]@users.noreply.github.com"
5251
git add data/
53-
git diff --staged --quiet || git commit -m "Monday scan (batch 1): $(date +%Y-%m-%d)"
52+
git diff --staged --quiet || git commit -m "Weekly scan: $(date +%Y-%m-%d)"
5453
git push
5554
5655
- name: Send Slack notification
56+
if: always()
5757
env:
5858
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
5959
run: |

.github/workflows/monitor-wednesday.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.

config/news_sources.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"urls": [
3+
"https://news.ycombinator.com/show",
4+
"https://news.crunchbase.com/",
5+
"https://alleywatch.com/"
6+
],
7+
"notes": [
8+
"Add your favorite news sources here",
9+
"ProductHunt, HackerNews, TechCrunch are good starting points",
10+
"Can also add specific RSS feeds or blog URLs"
11+
]
12+
}

0 commit comments

Comments
 (0)