fix: hardcode Discord agent ID in GitHub Action
No need to use a secret for the agent ID since it's a public identifier. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
c8abfb8968
commit
b87d5f627c
1 changed files with 2 additions and 1 deletions
3
.github/workflows/discord-summary.yml
vendored
3
.github/workflows/discord-summary.yml
vendored
|
|
@ -24,8 +24,9 @@ jobs:
|
|||
echo "Triggering agent with conversation: ${{ steps.conv-id.outputs.conv_id }}"
|
||||
|
||||
# POST to the agent conversation endpoint
|
||||
# Agent ID: Discord Daily Summary agent on tpmjs.com
|
||||
RESPONSE=$(curl -s -X POST \
|
||||
"https://tpmjs.com/api/agents/${{ secrets.DISCORD_AGENT_ID }}/conversation/${{ steps.conv-id.outputs.conv_id }}" \
|
||||
"https://tpmjs.com/api/agents/cmk9utpvg0001kz04csbisvf5/conversation/${{ steps.conv-id.outputs.conv_id }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{
|
||||
"message": "Read the Discord server (guild ID 1349727923434815519) for the past 24 hours, excluding bots. Then post a detailed summary with an embed to channel 1442666515425132644. Include key discussions, announcements, and any action items."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue