temp
This commit is contained in:
12
.github/workflows/git-sync.yml
vendored
12
.github/workflows/git-sync.yml
vendored
@@ -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