76
gh secret list -R YOUR_USERNAME/SquadScope
77
```
78
79
-### Step 4: Enable GitHub Pages
79
+### Step 4: Configure optional webhook notifications
80
+
81
+To notify a team channel whenever a weekly summary is published, add a repository secret named `WEBHOOK_URL` (a secret, not a variable, because webhook URLs are credentials that should be masked and protected):
82
+
83
+```bash
84
+gh secret set WEBHOOK_URL --body "https://example.com/webhook" -R YOUR_USERNAME/SquadScope
85
+```
86
+
87
+You can also add it in the GitHub UI under **Settings → Secrets and variables → Actions → Secrets**.
88
+
89
+Supported endpoints:
90
+
91
+- **Discord:** Create a webhook in the target channel's **Edit Channel → Integrations → Webhooks** settings, then paste that webhook URL into `WEBHOOK_URL`.
92
+- **Slack:** Create an **Incoming Webhook** app for the target channel, then paste that webhook URL into `WEBHOOK_URL`.
93
+- **Custom endpoint:** Any endpoint that accepts an HTTP `POST` with a JSON body containing `content` and `username` fields.
94
+
95
+If `WEBHOOK_URL` is unset, the workflow skips the webhook step automatically.
96
+
97
+### Step 5: Enable GitHub Pages
98
99
1. Navigate to repo **Settings → Pages**
100
2. Set **Source** to "GitHub Actions"
101
3. (Optional) Configure custom domain if desired
102
4. Save
103
86
-### Step 5: Test local build
104
+### Step 6: Test local build
105
106
Ensure the Hugo build works locally:
107
462
1. **Monitor quality:** Review weekly analyses for patterns and trends
463
2. **Iterate prompts:** Based on reskill recommendations, refine analysis quality
464
3. **Extend sources:** Add additional data sources (HackerNews, Reddit, etc.) via MCP tools
447
-4. **Add notifications:** Configure GitHub Releases or webhook integrations
465
+4. **Add notifications:** Configure GitHub Releases, Discord/Slack webhooks, or custom webhook integrations
466
5. **Topic channels:** Explore multi-topic feature (see `docs/PRD-topic-channels.md`)
467
468
SquadScope is designed to improve itself. Trust the system, monitor the trends, and enjoy curated tech news delivered every week.