Skip to content

Commit

Permalink
feat: Add automatic synchronization to CNB and update Readme instruct…
Browse files Browse the repository at this point in the history
…ions.
  • Loading branch information
aingdesk committed Feb 20, 2025
1 parent d4e8db2 commit 1b2fc11
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/sync-cnb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Sync to CNB
on: [push]

jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Sync to CNB Repository
run: |
docker run --rm \
-v ${{ github.workspace }}:${{ github.workspace }} \
-w ${{ github.workspace }} \
-e PLUGIN_TARGET_URL="https://cnb.cool/aingdesk/AingDesk.git" \
-e PLUGIN_AUTH_TYPE="https" \
-e PLUGIN_USERNAME="cnb" \
-e PLUGIN_PASSWORD=${{ secrets.CNB_GIT_PASSWORD }} \
-e PLUGIN_BRANCH="main" \
-e PLUGIN_GIT_USER="aingdesk" \
-e PLUGIN_GIT_EMAIL="support@aingdesk.com" \
-e PLUGIN_FORCE="true" \
tencentcom/git-sync
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ Deploy DeepSeek or other AI models on your computer with just one click.
📥 **Quick Installation**
- [Download from the official website.](https://www.aingdesk.com/en/download.html)
- [Download from GitHub.](https://github.com/aingdesk/AingDesk/releases)
- [Download from CNB](https://cnb.cool/aingdesk/AingDesk/-/releases/)

0 comments on commit 1b2fc11

Please # to comment.