This commit is contained in:
nomadics9 2025-01-04 22:40:27 +03:00
parent 24f605175e
commit 153d67e67d

View file

@ -18,7 +18,7 @@ jobs:
id: get-run
run: |
LATEST_RUN=$(curl -s -H "Authorization: token ${FORGEJO_TOKEN}" \
"https://git.askar.tv/api/v1/repos/owner/repo/actions/runs?status=success&event=push&branch=main" | \
"https://git.askar.tv/api/v1/repos/nomad/alaskartv-app/actions/runs?status=success&event=push&branch=main" | \
jq -r '.[] | select(.workflow_id=="main.yml") | .id' | head -n1)
echo "run_id=$LATEST_RUN" >> "$GITHUB_OUTPUT"