From a493b31d447c02a61855dd82de11ab2e237fc5b0 Mon Sep 17 00:00:00 2001 From: Anyexyz Date: Sun, 10 May 2026 22:54:14 +0800 Subject: [PATCH] ci: Add GitHub Actions workflow to sync with the CNB repository. --- .github/workflows/sync-cnb.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/sync-cnb.yml diff --git a/.github/workflows/sync-cnb.yml b/.github/workflows/sync-cnb.yml new file mode 100644 index 00000000..96377c14 --- /dev/null +++ b/.github/workflows/sync-cnb.yml @@ -0,0 +1,20 @@ +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 + uses: docker://tencentcom/git-sync + env: + PLUGIN_TARGET_URL: "https://cnb.cool/deepseek-tui.com/DeepSeek-TUI" + PLUGIN_AUTH_TYPE: "https" + PLUGIN_USERNAME: "cnb" + PLUGIN_PASSWORD: ${{ secrets.CNB_GIT_TOKEN }} + PLUGIN_SYNC_MODE: "rebase" \ No newline at end of file