From 2f74f90ea0ba3e3dcb38c29e4227882fa79dc3fb Mon Sep 17 00:00:00 2001 From: mafyuh Date: Mon, 10 Jun 2024 02:31:14 +0000 Subject: [PATCH] Update .forgejo/workflows/CD.yml --- .forgejo/workflows/CD.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/CD.yml b/.forgejo/workflows/CD.yml index d8abb82..02dc16d 100644 --- a/.forgejo/workflows/CD.yml +++ b/.forgejo/workflows/CD.yml @@ -76,4 +76,9 @@ jobs: logs=$(curl -s -H "Authorization: Bearer ${{ secrets.AWX_API_TOKEN }}" https://awx.mafyuh.xyz/api/v2/jobs/$job_id/stdout/?format=json) # Display the logs - echo "$logs" + echo "Range:" + echo "Start: $(echo "$logs" | jq -r '.range.start')" + echo "End: $(echo "$logs" | jq -r '.range.end')" + echo "Absolute End: $(echo "$logs" | jq -r '.range.absolute_end')" + echo "Content:" + echo "$(echo "$logs" | jq -r '.content')"