From bb73a082d6b0c11ded5290efca243789689a07df Mon Sep 17 00:00:00 2001 From: Hamik Hambardzumyan <150047343+hamikhambardzumyan@users.noreply.github.com> Date: Thu, 11 Jan 2024 14:34:16 +0400 Subject: [PATCH] Update publish.yml to trigger publish on push to main branch --- .github/workflows/publish.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7dc906f3..7319fd4e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,7 +1,8 @@ name: Publish to NPM on: - release: - types: [created] + push: + branches: + - main jobs: build: runs-on: ubuntu-latest