Add notification script

pull/1/head
juniorxsound 2020-02-19 04:24:17 -05:00
rodzic 3fc8785f19
commit e36389bb4a
2 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -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}
- ./notify.sh

2
notify.sh 100644
Wyświetl plik

@ -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}