E98DeployerTest/.gitea/workflows/webhook.yaml
E98Developer 8a76719c4b
Some checks failed
Webhook hívás Push esetén / call-url (push) Has been cancelled
fix gitea workflow
2026-02-15 21:48:24 +01:00

17 lines
541 B
YAML

name: Webhook hívás Push esetén
run-name: Webhook küldése - ${{ gitea.actor }}
on:
push:
branches:
- 'main' # Itt add meg a konkrét ágat (pl. main vagy master)
jobs:
call-url:
runs-on: ubuntu-latest
steps:
- name: API hívás indítása
run: |
curl -X POST "https://a-te-url-ed.hu/api?repo=${{ gitea.repository }}&branch=${{ gitea.ref_name }}&commit=${{ gitea.sha }}" \
-H "Authorization: Bearer ${{ secrets.MY_WEBHOOK_TOKEN }}" \
-H "Content-Type: application/json"