From 43ff61d1f62421f2c63e071450e6be9bc89b6f9b Mon Sep 17 00:00:00 2001 From: zjp Date: Mon, 20 Feb 2023 10:36:56 +0800 Subject: [PATCH] ci: trigger when pushing on main branch --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ff8fd76..89c77ce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,7 +1,9 @@ # from: https://faun.pub/automate-your-build-release-with-github-actions-367c0febf5fd name: Release CI -on: [push] +on: + push: + branches: ["main"] jobs: deploy: # A strategy is used to define various build environments this job will run.