- Skip invalid webhooks

- Build cache based on row data instead of entire row
- Compare columns instead of entire row
- Removed commitHash check and instead just processes on succesfull git pull
- No more entire file dumps!
This commit is contained in:
Daniel Mason 2021-09-03 14:16:15 +12:00
parent ae11cc53a3
commit 86eef8cc8e
Signed by: idanoo
GPG key ID: 387387CDBC02F132
5 changed files with 102 additions and 132 deletions

View file

@ -33,6 +33,10 @@ func postToSlack() {
}
for _, webhook := range SlackWebhooks {
if webhook == "" {
continue
}
err := slack.Send(webhook, "", payload)
if len(err) > 0 {
fmt.Print(err)