Skip to content

Commit

Permalink
fix: add missing discord notif
Browse files Browse the repository at this point in the history
  • Loading branch information
butonium committed Apr 11, 2024
1 parent bb26b3a commit 33b45ca
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/v2-apply-scoring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,20 @@ jobs:
-H "Authorization: Bearer ${{ secrets.VALIDATORS_API_ADMIN_TOKEN }}" \
-F "scores=@${{ env.scores_csv }}"
- name: Send Discord Notification
run: |
curl "$DISCORD_WEBHOOK" -H "Content-Type: application/json" -d '{
"username": "DS Scoring",
"avatar_url": "https://public.marinade.finance/ds-scoring-bot.png",
"embeds": [
{
"title": "Scoring successfully applied.",
"color": "52224"
}
]
}'
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
# Temporary disable and apply them manually
# early_unstake:
# needs: apply_scoring_v2
Expand Down

0 comments on commit 33b45ca

Please sign in to comment.