render_video/.forgejo/workflows/webhook.yml

18 lines
494 B
YAML
Raw Normal View History

2024-05-26 10:18:17 +00:00
name: Trigger quay.io Webhook
on:
push:
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:29:51 +00:00
curl -v -X POST -H 'Content-Type: application/json' --data '{
"commit": "${{github.sha}}",
"ref": "${{github.ref}}",
2024-05-26 10:19:22 +00:00
"default-branch": "main"
}' 'https://$token:${{secrets.quay_token}}@quay.io/webhooks/push/trigger/48d15dc7-ef9a-45bd-83e6-e1714c73dca6'
2024-05-26 10:20:07 +00:00
shell: ash -eo pipefail {0}