This commit is contained in:
2025-04-30 19:28:04 +08:00
parent 3f3f08cc4e
commit 26ca4c21c8
11 changed files with 194 additions and 3776 deletions

View File

@@ -1,5 +1,11 @@
name: Sync to CNB
on: [push]
on:
push:
branches:
# - main
- 'releases/**'
workflow_dispatch:
# This workflow is triggered on push events to the repository.
jobs:
sync:
@@ -8,7 +14,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Sync to CNB Repository
run: |
docker run --rm \
@@ -19,4 +25,4 @@ jobs:
-e PLUGIN_USERNAME="cnb" \
-e PLUGIN_PASSWORD=${{ secrets.GIT_PASSWORD }} \
-e PLUGIN_SYNC_MODE="rebase" \
tencentcom/git-sync
tencentcom/git-sync