adding workflow to notify parent of updates

This commit is contained in:
Dario Ghunney Ware 2025-04-09 15:26:18 +01:00
parent 67f4f785f1
commit bf80c1250a

View File

@ -22,8 +22,8 @@ jobs:
- name: Github REST API Call
env:
CI_TOKEN: ${{ secrets.CI_TOKEN }}
PARENT_REPO: Stirling-Tools/Stirling-PDF
PARENT_REPO: Stirling-Tools/Stirling-PDF-Enterprise-and-Login
PARENT_BRANCH: main
WORKFLOW_ID: <9999999>
WORKFLOW_ID: sync-submodules.yml
run: |
curl -fL --retry 3 -X POST -H "Accept: application/vnd.github.v3+json" -H "Authorization: token ${{ env.CI_TOKEN }}" https://api.github.com/repos/${{ env.PARENT_REPO }}/actions/workflows/${{ env.WORKFLOW_ID }}/dispatches -d '{"ref":"${{ env.PARENT_BRANCH }}"}'