From ffd29d87086b0e281ab2255dd31eaef866c23adf Mon Sep 17 00:00:00 2001 From: Elias Jansson Date: Wed, 21 May 2025 23:43:49 +0200 Subject: [PATCH] yml --- .drone.yml | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/.drone.yml b/.drone.yml index 726651a..2c38a59 100644 --- a/.drone.yml +++ b/.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