From c47b6b55335a01be4a8dbbfb42a276e5222b3908 Mon Sep 17 00:00:00 2001 From: Paul Bonaud Date: Mon, 29 Jun 2020 17:52:26 +0200 Subject: [PATCH] fix: prevent crash when the deployment times out --- tasks/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/deploy.yml b/tasks/deploy.yml index c567981..f9d8408 100644 --- a/tasks/deploy.yml +++ b/tasks/deploy.yml @@ -75,7 +75,7 @@ - name: Retry deploy to clever-cloud include_tasks: redeploy.yml when: - - not job_result.rc == 0 + - not job_result.finished or not job_result.rc == 0 - job_result.stderr is defined - job_result.stderr is search("Failed to read git object") -- 2.41.0