Skip to content

Commit 1ded160

Browse files
authored
Merge pull request #244 from TencentCloudBase/feature/docs-github-cnb-links
docs(index): ✨ add GitHub and CNB project links with star badges
2 parents 52490c9 + 5d4a911 commit 1ded160

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/sync-to-cnb.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Sync to CNB
2+
on: [push]
3+
4+
jobs:
5+
sync:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v3
9+
with:
10+
fetch-depth: 0
11+
12+
- name: Sync to CNB Repository
13+
run: |
14+
docker run --rm \
15+
-v ${{ github.workspace }}:${{ github.workspace }} \
16+
-w ${{ github.workspace }} \
17+
-e PLUGIN_TARGET_URL="https://cnb.cool/tencent/cloud/cloudbase/CloudBase-AI-ToolKit.git" \
18+
-e PLUGIN_AUTH_TYPE="https" \
19+
-e PLUGIN_USERNAME="cnb" \
20+
-e PLUGIN_PASSWORD=${{ secrets.CNB_TOKEN }} \
21+
-e PLUGIN_FORCE="true" \
22+
tencentcom/git-sync

doc/index.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,15 @@ graph TD
5555
J --> K[Web/小程序/API]
5656
```
5757

58+
## 相关链接
59+
60+
<div align="center">
61+
62+
[![GitHub Stars](https://img.shields.io/github/stars/TencentCloudBase/CloudBase-AI-ToolKit?color=F59E0B&label=stars&logo=github&style=flat-square)](https://github.com/TencentCloudBase/CloudBase-AI-ToolKit/stargazers)
63+
[![CNB](https://img.shields.io/badge/CNB-CloudBase--AI--ToolKit-3B82F6?logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cmVjdCB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHJ4PSIyIiBmaWxsPSIjM0I4MkY2Ii8+PHBhdGggZD0iTTUgM0g3VjVINSIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIxLjUiLz48cGF0aCBkPSJNNSA3SDdWOUg1IiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjEuNSIvPjwvc3ZnPg==&style=flat-square)](https://cnb.cool/tencent/cloud/cloudbase/CloudBase-AI-ToolKit)
64+
65+
</div>
66+
5867
## 技术交流
5968

6069
### CloudBase AI Coding 交流群

0 commit comments

Comments
 (0)