From 70df58a0974717dd76618cb51a6e9caa5e3e7a07 Mon Sep 17 00:00:00 2001 From: Henrik Jess Nielsen Date: Fri, 13 Dec 2024 22:14:44 +0100 Subject: [PATCH] Trying something ... --- .gitea/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 7a55f37..3575ef4 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -47,7 +47,7 @@ jobs: echo "Waiting for the new job to become healthy..." # Fetch the latest allocation ID for the job - NEW_ALLOC=$(nomad job status lifefaq | awk '/ID/ {getline; print $1}' | head -n 1) + NEW_ALLOC=$(nomad job status lifefaq | awk '/ID/ {getline; print $1}' | tail -n 1) echo "Latest allocation ID: $NEW_ALLOC" # Wait for the new allocation to become healthy -- 2.39.5