testing
This commit is contained in:
parent
24f605175e
commit
153d67e67d
1 changed files with 1 additions and 1 deletions
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
|
@ -18,7 +18,7 @@ jobs:
|
||||||
id: get-run
|
id: get-run
|
||||||
run: |
|
run: |
|
||||||
LATEST_RUN=$(curl -s -H "Authorization: token ${FORGEJO_TOKEN}" \
|
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)
|
jq -r '.[] | select(.workflow_id=="main.yml") | .id' | head -n1)
|
||||||
echo "run_id=$LATEST_RUN" >> "$GITHUB_OUTPUT"
|
echo "run_id=$LATEST_RUN" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue