diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 00000000..9eee7022 --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,21 @@ +name: CI + +on: + pull_request: + branches: + - 'develop' + +jobs: + + CI: + name: "CI" + runs-on: ubuntu-22.04 + steps: + - name: Repository Dispatch + uses: actions/checkout@v3 + - run: | + curl -H "Accept: application/vnd.github.v3+json" \ + -H "Authorization: Bearer ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}" \ + --request POST \ + --data '{"event_type": "html5-pr"}' \ + https://api.github.com/repos/${{ secrets.Repo }}/${{ secrets.HF_Repo }}/dispatches