render_video/.forgejo/workflows/webhook.yml
Dominic 6e56452f78
All checks were successful
Trigger quay.io Webhook / run (push) Successful in 5s
limit webhook ci to main branch
2024-06-23 17:54:18 +02:00

18 lines
534 B
YAML

name: Trigger quay.io Webhook
on:
push:
branches: [main]
jobs:
run:
runs-on: alpine-latest
steps:
- run: |
apk add ca-certificates curl
curl -D - --fail-with-body -X POST -H 'Content-Type: application/json' --data '{
"commit": "${{github.sha}}",
"ref": "${{github.ref}}",
"default_branch": "main"
}' 'https://$token:${{secrets.quay_token}}@quay.io/webhooks/push/trigger/f21fe844-3a4b-43b0-a92f-7871d7d7ea68'
shell: ash -eo pipefail {0}