ci: Add GitHub Actions workflow to sync with the CNB repository.

This commit is contained in:
Anyexyz
2026-05-10 22:54:14 +08:00
committed by Hunter Bown
parent c02e554f4b
commit a493b31d44
+20
View File
@@ -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"