just a line off

This commit is contained in:
Matt Reeves 2024-12-20 23:03:35 -05:00
parent d24d26cf65
commit 64c5bee663

View file

@ -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)