Skip to content

armgit / Ix

Public Imported from GitHub
0

Understand any codebase instantly. System intelligence for codebases, built for humans and AI.

Update Notion sync notifier workflow

jbmiv7ecf2e82b824
diff --git a/.github/workflows/notify-sync.yml b/.github/workflows/notify-sync.yml
index a98634cc..8a5f368b 100644
--- a/.github/workflows/notify-sync.yml
+++ b/.github/workflows/notify-sync.yml
@@ -23,8 +23,9 @@ jobs:
private_key: ${{ secrets.GH_APP_PRIVATE_KEY }}
- name: Trigger sync workflow
- uses: peter-evans/repository-dispatch@v3
- with:
- token: ${{ steps.app-token.outputs.token }}
- repository: ix-infrastructure/ix-notion-sync
- event-type: repo-change
+ run: |
+ curl -s -X POST \
+ -H "Authorization: token ${{ steps.app-token.outputs.token }}" \
+ -H "Accept: application/vnd.github+json" \
+ -d '{"ref":"main"}' \
+ https://api.github.com/repos/ix-infrastructure/ix-notion-sync/actions/workflows/sync.yml/dispatches