Skip to content

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

:octocat: Update cd

Danielcdf0477ca284
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml
index b8374660a8..8906301dfb 100644
--- a/.github/workflows/cd.yml
+++ b/.github/workflows/cd.yml
@@ -55,15 +55,14 @@ jobs:
- name: Create Release
id: create_release
- uses: actions/create-release@v1
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ uses: ncipollo/release-action@v1
with:
- release_name: ${{ steps.release_info.outputs.release_version }}
- tag_name: ${{ github.ref }}
+ name: ${{ steps.release_info.outputs.release_version }}
+ tag: ${{ github.ref }}
body: ${{ env.release_body }}
draft: false
prerelease: true
+ token: ${{ secrets.GITHUB_TOKEN }}
build:
runs-on: ${{ matrix.config.os }}