From 0b70f793db237b75348767a13ec754f7a11dd43f Mon Sep 17 00:00:00 2001 From: TheAssassin Date: Tue, 3 Dec 2024 23:48:41 +0100 Subject: [PATCH] Fail pipeline when deployment trigger fails --- .gitea/workflows/docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/docker.yml b/.gitea/workflows/docker.yml index 5441943..e2bbd16 100644 --- a/.gitea/workflows/docker.yml +++ b/.gitea/workflows/docker.yml @@ -51,4 +51,4 @@ jobs: UPDATE_URL: ${{ secrets.UPDATE_URL }} UPDATE_TOKEN: ${{ secrets.UPDATE_TOKEN }} run: | - curl "$UPDATE_URL" -H "Authorization: Bearer ${UPDATE_TOKEN}" + curl --fail-with-body "$UPDATE_URL" -H "Authorization: Bearer ${UPDATE_TOKEN}"