This commit is contained in:
27
.drone.yml
27
.drone.yml
@@ -38,17 +38,16 @@ steps:
|
||||
- docker rm Aberwyn || true
|
||||
- docker run -d --name='Aberwyn' --net='br0' -e TZ='Europe/Berlin' -p 80:80 192.168.1.9:3000/tai/aberwyn/aberwyn:latest
|
||||
|
||||
- name: notify-result
|
||||
image: alpine
|
||||
when:
|
||||
status:
|
||||
- success
|
||||
- failure
|
||||
commands:
|
||||
- |
|
||||
if [ "$DRONE_BUILD_STATUS" = "success" ]; then
|
||||
curl -X POST http://192.168.1.196:8123/api/webhook/aberwyn_update_success
|
||||
else
|
||||
curl -X POST http://192.168.1.196:8123/api/webhook/aberwyn_update_failed
|
||||
fi
|
||||
|
||||
- name: notify-result
|
||||
image: alpine
|
||||
when:
|
||||
status:
|
||||
- success
|
||||
- failure
|
||||
commands:
|
||||
- |
|
||||
if [ "$DRONE_BUILD_STATUS" = "success" ]; then
|
||||
curl -X POST http://192.168.1.196:8123/api/webhook/aberwyn_update_success
|
||||
else
|
||||
curl -X POST http://192.168.1.196:8123/api/webhook/aberwyn_update_failed
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user