Skip to content

Commit

Permalink
fix: Only publish message for release publish steps
Browse files Browse the repository at this point in the history
  • Loading branch information
ViMaSter committed Oct 5, 2024
1 parent b43d080 commit f933412
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions host.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ export const hostPage = () => {
return;
}

if (req.body.action != "published") {
return;
}

const discordBody = convert(req.body);

try {
Expand Down

0 comments on commit f933412

Please sign in to comment.