Skip to content

Commit

Permalink
featL add github action to trigger lit contracts build
Browse files Browse the repository at this point in the history
  • Loading branch information
Ansonhkg committed Jul 18, 2024
1 parent 5b47868 commit 34bd919
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/trigger-lit-contracts.yml
Original file line number Diff line number Diff line change
@@ -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"}'

0 comments on commit 34bd919

Please sign in to comment.