This commit is contained in:
abearxiong committed 2025-04-30 19:28:04 +08:00
1 parent 3f3f08cc4e
commit 26ca4c21c8
11 files changed
+194 -3776

No files matched your search

+9 -3
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