From 1c332d1ace18bd5b559aafe5a0f492ede222db6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=98=E5=B0=98?= Date: Mon, 30 May 2022 18:47:09 +0800 Subject: [PATCH] :octocat: use on-push trigger instead of schedule trigger (#5054) --- .github/workflows/ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 454cae843..d7fc33691 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,8 +1,11 @@ name: CI/CD For SiYuan on: - schedule: - - cron: '30 4 * * *' + push: + branches: + - dev + tags: + - v.* workflow_dispatch: @@ -45,7 +48,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - release_name: v${{ steps.version.outputs.value }}-${{ steps.release_info.outputs.release_title }} + release_name: v${{ steps.version.outputs.value }} tag_name: ${{ github.ref }} body: ${{ steps.release_info.outputs.release_body }} draft: true