Files
Epicnabbo-Catalogus-Updated…/.gitea/workflows/_catalogus-trigger-proposal.yaml
T

22 lines
687 B
YAML

name: Trigger Site Pack
on:
push:
branches:
- main
jobs:
notify:
runs-on: shell
steps:
- name: Dispatch pack build to EpicNext-CMS
run: |
set -e
API="${{ gitea.api_url }}"
TOKEN="${{ secrets.GITEA_TOKEN }}"
# Target repo: remco/EpicNext-Cms (the CMS repo that owns the pack workflow)
curl -s -o /dev/null -X POST \
"${API}/repos/remco/EpicNext-Cms/actions/workflow_dispatch" \
-H "Authorization: token ${TOKEN}" \
-H "Content-Type: application/json" \
-d '{"ref":"main","event_type":"build-pack"}'
echo "Dispatched pack build to EpicNext-CMS"