yml
Some checks failed
continuous-integration/drone/push Build was killed

This commit is contained in:
Elias Jansson
2025-05-21 23:43:49 +02:00
parent 785b2bc996
commit ffd29d8708

View File

@@ -38,17 +38,16 @@ steps:
- docker rm Aberwyn || true - 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 - 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 - name: notify-result
image: alpine image: alpine
when: when:
status: status:
- success - success
- failure - failure
commands: commands:
- | - |
if [ "$DRONE_BUILD_STATUS" = "success" ]; then if [ "$DRONE_BUILD_STATUS" = "success" ]; then
curl -X POST http://192.168.1.196:8123/api/webhook/aberwyn_update_success curl -X POST http://192.168.1.196:8123/api/webhook/aberwyn_update_success
else else
curl -X POST http://192.168.1.196:8123/api/webhook/aberwyn_update_failed curl -X POST http://192.168.1.196:8123/api/webhook/aberwyn_update_failed
fi fi