render_video/.forgejo/workflows/webhook.yml

19 lines
534 B
YAML
Raw Normal View History

2024-05-26 10:18:17 +00:00
name: Trigger quay.io Webhook
on:
push:
2024-06-23 15:53:55 +00:00
branches: [main]
2024-05-26 10:18:17 +00:00
jobs:
run:
runs-on: alpine-latest
steps:
- run: |
2024-05-26 10:19:22 +00:00
apk add ca-certificates curl
2024-05-26 10:34:48 +00:00
curl -D - --fail-with-body -X POST -H 'Content-Type: application/json' --data '{
"commit": "${{github.sha}}",
"ref": "${{github.ref}}",
2024-05-26 10:37:56 +00:00
"default_branch": "main"
2024-05-26 10:34:48 +00:00
}' 'https://$token:${{secrets.quay_token}}@quay.io/webhooks/push/trigger/f21fe844-3a4b-43b0-a92f-7871d7d7ea68'
2024-05-26 10:20:07 +00:00
shell: ash -eo pipefail {0}