Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:octocat: use on-push trigger instead of schedule trigger (#5054)

飘尘1c332d1ace18
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 454cae8432..d7fc33691a 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