fix: branch name
This commit is contained in:
parent
a4955a75ff
commit
f02d1ee04e
6
.github/workflows/sync-code.yml
vendored
6
.github/workflows/sync-code.yml
vendored
@ -1,16 +1,16 @@
|
|||||||
name: Sync
|
name: Sync Code to Gitee
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
sync-to-jihulab:
|
sync-code-to-gitee:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: adambirds/sync-github-to-gitlab-action@v1.1.0
|
- uses: adambirds/sync-github-to-gitlab-action@v1.1.0
|
||||||
with:
|
with:
|
||||||
destination_repository: git@gitee.com:naibahq/agent.git
|
destination_repository: git@gitee.com:naibahq/agent.git
|
||||||
destination_branch_name: master
|
destination_branch_name: main
|
||||||
destination_ssh_key: ${{ secrets.GITEE_SSH_KEY }}
|
destination_ssh_key: ${{ secrets.GITEE_SSH_KEY }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user