From e36389bb4a9b17238fe8bad4ea03daace948fd06 Mon Sep 17 00:00:00 2001 From: juniorxsound Date: Wed, 19 Feb 2020 04:24:17 -0500 Subject: [PATCH] Add notification script --- .travis.yml | 2 +- notify.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 notify.sh diff --git a/.travis.yml b/.travis.yml index 2da0da4..0044f6d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,4 +7,4 @@ services: script: - python3 generate.py after_success: - - curl -X POST -H 'Content-type: application/json' --data '{"text":"Blender Docker images deployed to Docker Hub :party:", "icon_emoji": ":blender-3d:"}' ${WEBHOOK_URL} \ No newline at end of file + - ./notify.sh \ No newline at end of file diff --git a/notify.sh b/notify.sh new file mode 100644 index 0000000..2686537 --- /dev/null +++ b/notify.sh @@ -0,0 +1,2 @@ +#!/bin/bash +curl -X POST -H 'Content-type: application/json' --data '{"text":"Blender Docker images deployed to Docker Hub :party:", "icon_emoji": ":blender-3d:"}' ${WEBHOOK_URL} \ No newline at end of file