diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 468e417..9515d7e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,8 @@ on: push: branches: - master + repository_dispatch: + types: [ new-client-release ] jobs: build-and-deploy: runs-on: ubuntu-latest diff --git a/.github/workflows/test-event.yml b/.github/workflows/test-event.yml deleted file mode 100644 index e7f92ca..0000000 --- a/.github/workflows/test-event.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: Repository Dispatch -on: - repository_dispatch: - types: [new-client-release] -jobs: - myEvent: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - ref: ${{ github.event.client_payload.ref }} - - run: echo ${{ github.event.client_payload.sha }}