From 64c5bee6633443d353d4aaa5fe74a6281d909a0e Mon Sep 17 00:00:00 2001 From: Matt Reeves Date: Fri, 20 Dec 2024 23:03:35 -0500 Subject: [PATCH] just a line off --- .forgejo/workflows/tofu-issue-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.forgejo/workflows/tofu-issue-deploy.yml b/.forgejo/workflows/tofu-issue-deploy.yml index 93d0672..70f8da1 100644 --- a/.forgejo/workflows/tofu-issue-deploy.yml +++ b/.forgejo/workflows/tofu-issue-deploy.yml @@ -18,7 +18,7 @@ jobs: ISSUE_BODY="${{ github.event.issue.body }}" echo "ISSUE_BODY=$ISSUE_BODY" - VM_NAME=$(echo "$ISSUE_BODY" | grep -A 1 'VM Name' | tail -n 1 | xargs) + VM_NAME=$(echo "$ISSUE_BODY" | grep -A 2 'VM Name' | tail -n 1 | xargs) echo "Extracted VM_NAME: '$VM_NAME'" VM_ID=$(echo "$ISSUE_BODY" | grep 'VM ID:' | cut -d':' -f2 | xargs)