From f9409b9032e7d167b5bccad4b1f0f31f48dbd92e Mon Sep 17 00:00:00 2001 From: Gennady Date: Sun, 1 Jan 2023 16:26:17 +0100 Subject: [PATCH] run release on event --- .github/workflows/release.yml | 2 ++ .github/workflows/test-event.yml | 12 ------------ 2 files changed, 2 insertions(+), 12 deletions(-) delete mode 100644 .github/workflows/test-event.yml 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 }}