fix gitea workflow
Some checks failed
Webhook hívás Push esetén / call-url (push) Has been cancelled

This commit is contained in:
E98Developer 2026-02-15 21:48:24 +01:00
parent 2a3a3dea1e
commit 8a76719c4b

View File

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