diff --git a/.github/workflows/github_to_gitee.yml b/.github/workflows/github_to_gitee.yml index b2fb641..b518830 100644 --- a/.github/workflows/github_to_gitee.yml +++ b/.github/workflows/github_to_gitee.yml @@ -5,8 +5,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: zyupo/spug@master - env: - SSH_PRIVATE_KEY: ${{ secrets.GITEE_PRIVATE_KEY }} with: - source-repo: "git@github.com:openspug/spug.git" - destination-repo: "git@gitee.com:openspug/spug.git" + src: github/openspug + dst: gitee/openspug + dst_key: ${{ secrets.GITEE_PRIVATE_KEY }} + dst_token: ${{ secrets.GITEE_TOKEN }} + account_type: org