Skip to content

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

:octocat: Update CD action

Daniel3f978c798709
diff --git a/.github/workflows/ci.yml b/.github/workflows/cd.yml
similarity index 99%
rename from .github/workflows/ci.yml
rename to .github/workflows/cd.yml
index 1c7acdfa49..b4de9d4cd5 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/cd.yml
@@ -1,11 +1,10 @@
-name: CI/CD For SiYuan
+name: CD For SiYuan
on:
push:
tags:
- '*-dev*'
workflow_dispatch:
-
jobs:
diff --git a/scripts/parse-changelog.py b/scripts/parse-changelog.py
index 3bbe1a3cc0..28096be258 100644
--- a/scripts/parse-changelog.py
+++ b/scripts/parse-changelog.py
@@ -60,15 +60,12 @@ def find_milestone(repo, title, lastestRelease):
return None
version = pat.group(1)
print(f'''
----
-<p align="center">
+<p>
<a href="https://github.com/siyuan-note/siyuan/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/siyuan-note/siyuan/ci.yml?event=push&label=ci.yml%20Action&logo=github" style="cursor:pointer;height: 30px;margin: 3px auto;"/></a>
<a href="https://github.com/siyuan-note/siyuan/releases/{thisRelease}/"><img src="https://img.shields.io/github/downloads/siyuan-note/siyuan/{thisRelease}/total?logo=github" style="cursor:pointer;height: 30px;margin: 3px auto;"/></a>
<img alt="GitHub commits difference between two branches/tags/commits" src="https://img.shields.io/github/commits-difference/siyuan-note/siyuan?base={lastestRelease}&head={thisRelease}&logo=git" style="cursor:pointer;height: 30px;margin: 3px auto;"/>
</p>
----
-
''')
for milestone in repo.get_milestones():
if version in milestone.title: