Template
temp
This commit is contained in:
1 parent
d4aa63eea2
commit
5e03ef2dd9
7 files changed
+82
-131
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user