Skip to content

Commit

Permalink
🚀 Deploy new version [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
pabio-escobar committed Oct 17, 2023
1 parent cb78cff commit d76e5d8
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 3 deletions.
6 changes: 6 additions & 0 deletions dist/helpers/notifications.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/helpers/notifications.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions dist/helpers/notifme.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/helpers/notifme.js.map

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -731,6 +731,19 @@ const sendNotification = async (message) => {
}
console.log("Finished sending Discord");
}
if (secrets_1.getSecret("NOTIFICATION_GOOGLE_CHAT_WEBHOOK_URL")) {
console.log("Sending Google Chat");
try {
await axios_1.default.post(secrets_1.getSecret("NOTIFICATION_GOOGLE_CHAT_WEBHOOK_URL"), {
text: message,
});
console.log("Success Google Chat");
}
catch (error) {
console.log("Got an error", error);
}
console.log("Finished sending Google Chat");
}
if (secrets_1.getSecret("NOTIFICATION_ZULIP_MESSAGE_URL") &&
secrets_1.getSecret("NOTIFICATION_ZULIP_API_EMAIL") &&
secrets_1.getSecret("NOTIFICATION_ZULIP_API_KEY")) {
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

0 comments on commit d76e5d8

Please sign in to comment.