revert messages order

This commit is contained in:
Jonatan Castro 2020-11-26 18:01:49 +11:00
parent 9625a44636
commit e66e447108

View File

@ -9,7 +9,7 @@ jobs:
- run: - run:
name: Check SSL Certificates name: Check SSL Certificates
command: | command: |
DATE=`date "+%Y%m%d-%H%M"` .circleci/slack-message.sh "*Checking SSL Certificates*" "#FFF000"
sudo pip install -r requirements.txt sudo pip install -r requirements.txt
OUTPUT=$(./ssl_checker.py -f ./hosts_to_check) OUTPUT=$(./ssl_checker.py -f ./hosts_to_check)
echo "$OUTPUT" echo "$OUTPUT"
@ -19,7 +19,6 @@ jobs:
if ! [[ echo "$OUTPUT" | grep "Warning: 0" ]]; then if ! [[ echo "$OUTPUT" | grep "Warning: 0" ]]; then
.circleci/slack-message.sh "*Checked SSL Certificates*: Warnings :warning:" "#FF0000" .circleci/slack-message.sh "*Checked SSL Certificates*: Warnings :warning:" "#FF0000"
fi fi
.circleci/slack-message.sh "*Checked SSL Certificates*: Success :key:" "#008000"
workflows: workflows:
version: 2 version: 2