diff --git a/.github/workflows/dist-2.yml b/.github/workflows/dist-2.yml new file mode 100644 index 000000000..bd2b79c69 --- /dev/null +++ b/.github/workflows/dist-2.yml @@ -0,0 +1,14 @@ +name: Repository Dispatch +on: + repository_dispatch: + types: [my-event] +jobs: + myEvent: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + ref: ${{ github.event.client_payload.ref }} + + - run: echo ${{ github.event.client_payload.sha }} + - run: echo ${{ github.event.client_payload.test }}