Skip to content

Commit f0e6305

Browse files
committedOct 12, 2024
add runner to cd
1 parent c2c1eb4 commit f0e6305

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed
 

‎.forgejo/workflows/CD.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ jobs:
7575
portainer)
7676
target_host="port.lan"
7777
;;
78+
runner)
79+
target_host="runner.lan"
80+
;;
7881
twingate)
7982
target_host="twingate.lan"
8083
;;
@@ -98,10 +101,6 @@ jobs:
98101
job_id=$(curl -s -H "Authorization: Bearer ${{ secrets.AWX_API_TOKEN }}" https://awx.mafyuh.xyz/api/v2/job_templates/13/jobs/?order_by=-id | jq -r '.results[0].id')
99102
logs=$(curl -s -H "Authorization: Bearer ${{ secrets.AWX_API_TOKEN }}" https://awx.mafyuh.xyz/api/v2/jobs/$job_id/stdout/?format=json)
100103
echo "AWX Job Logs for folder: $folder"
101-
echo "Range:"
102-
echo "Start: $(echo "$logs" | jq -r '.range.start')"
103-
echo "End: $(echo "$logs" | jq -r '.range.end')"
104-
echo "Absolute End: $(echo "$logs" | jq -r '.range.absolute_end')"
105104
echo "Content:"
106105
echo "$(echo "$logs" | jq -r '.content')"
107106
done

0 commit comments

Comments
 (0)
Please sign in to comment.