Merge pull request #1 from apthletic/feature-fix-script-for-failed-certs

Fix failed certs check
This commit is contained in:
Jonatan Castro 2021-01-12 18:26:53 +11:00 committed by GitHub
commit 8e0e81d9b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,9 @@ jobs:
if ! echo "$OUTPUT" | grep "Expired: 0" ; then
.circleci/slack-message.sh "*Checked SSL Certificates*: Expired :x:" "#FF0000"
fi
if ! echo "$OUTPUT" | grep "Failed: 0" ; then
.circleci/slack-message.sh "*Checked SSL Certificates*: Failed :x:" "#FF0000"
fi
if ! echo "$OUTPUT" | grep "Warning: 0" ; then
.circleci/slack-message.sh "*Checked SSL Certificates*: Warnings :warning:" "#FF0000"
fi