fix: branch name

This commit is contained in:
naiba 2024-07-13 23:19:02 +08:00
parent a4955a75ff
commit f02d1ee04e

View File

@ -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 }}