Delete .forgejo/workflows/get-logs.yml

This commit is contained in:
Matt Reeves 2024-06-10 03:10:50 +00:00
parent 9d6d5eaf12
commit f4a256ad4f

View file

@ -1,18 +0,0 @@
---
name: Get AWX Job Logs
on:
workflow_call:
inputs:
name: get-logs-trigger
jobs:
fetch-logs:
runs-on: docker
steps:
- name: Get AWX Job Logs
run: |
# Fetch the most recent job from AWX
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')
# Fetch the logs for the job
curl -s -H "Authorization: Bearer ${{ secrets.AWX_API_TOKEN }}" https://awx.mafyuh.xyz/api/v2/jobs/$job_id/stdout/