File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Daily Traction Report
2+ on :
3+ schedule :
4+ - cron : ' 0 14 * * 1-5' # 9 AM EST weekdays
5+ workflow_dispatch : # Manual trigger for testing
6+
7+ jobs :
8+ generate-report :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout repository
12+ uses : actions/checkout@v3
13+
14+ - name : Set up Python
15+ uses : actions/setup-python@v4
16+ with :
17+ python-version : ' 3.9'
18+
19+ - name : Install dependencies
20+ run : |
21+ python -m pip install --upgrade pip
22+ pip install -r scripts/requirements.txt
23+
24+ - name : Generate Daily Traction Report
25+ run : python scripts/daily_report.py
26+ env :
27+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28+ DISCORD_WEBHOOK : ${{ secrets.DISCORD_WEBHOOK }}
29+ REDDIT_CLIENT_ID : ${{ secrets.REDDIT_CLIENT_ID }}
30+ REDDIT_SECRET : ${{ secrets.REDDIT_SECRET }}
31+ YOUTUBE_API_KEY : ${{ secrets.YOUTUBE_API_KEY }}
You can’t perform that action at this time.
0 commit comments