From 34bd91955b92772f388b9d6c39f891c94c671343 Mon Sep 17 00:00:00 2001 From: Anson Date: Thu, 18 Jul 2024 22:43:52 +0100 Subject: [PATCH] featL add github action to trigger lit contracts build --- .github/workflows/trigger-lit-contracts.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/trigger-lit-contracts.yml diff --git a/.github/workflows/trigger-lit-contracts.yml b/.github/workflows/trigger-lit-contracts.yml new file mode 100644 index 0000000..4d8ca8d --- /dev/null +++ b/.github/workflows/trigger-lit-contracts.yml @@ -0,0 +1,18 @@ +name: Trigger Lit Contracts + +on: + push: + branches: + - main + +jobs: + trigger-lit-contracts: + runs-on: ubuntu-latest + + steps: + - name: Trigger Lit Contracts Workflow + run: | + curl -X POST -H "Accept: application/vnd.github.everest-preview+json" \ + -H "Authorization: token ${{ secrets.GH_TOKEN }}" \ + https://api.github.com/repos/LIT-Protocol/lit-contracts/dispatches \ + -d '{"event_type":"sync_trigger"}'