Update .forgejo/workflows/CD.yml
This commit is contained in:
parent
3f0f5670e2
commit
2f74f90ea0
1 changed files with 6 additions and 1 deletions
|
@ -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)
|
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
|
# 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')"
|
||||||
|
|
Reference in a new issue