diff --git a/.github/workflows/sync-code.yml b/.github/workflows/sync-code.yml index 0bb4876..ae34bd8 100644 --- a/.github/workflows/sync-code.yml +++ b/.github/workflows/sync-code.yml @@ -2,7 +2,7 @@ name: Sync Code to Gitee on: push: - branches: [main] + branches: [main, v0] jobs: sync-code-to-gitee: @@ -12,5 +12,5 @@ jobs: - uses: adambirds/sync-github-to-gitlab-action@v1.1.0 with: destination_repository: git@gitee.com:naibahq/scripts.git - destination_branch_name: main + destination_branch_name: ${{ github.ref_name }} destination_ssh_key: ${{ secrets.GITEE_SSH_KEY }}