diff --git a/.github/workflows/git-sync.yml b/.github/workflows/git-sync.yml index 54f92153d3..493f9b349e 100644 --- a/.github/workflows/git-sync.yml +++ b/.github/workflows/git-sync.yml @@ -12,14 +12,13 @@ jobs: steps: - name: git-sync env: - git_sync_source_repo: ${{ secrets.GIT_SYNC_SOURCE_REPO }} git_sync_destination_repo: ${{ secrets.GIT_SYNC_DESTINATION_REPO }} - if: env.git_sync_source_repo && env.git_sync_destination_repo + git_sync_ssh_private_key: ${{ secrets.GIT_SYNC_SSH_PRIVATE_KEY }} + if: env.git_sync_destination_repo && env.git_sync_ssh_private_key uses: wei/git-sync@v3 with: - source_repo: ${{ secrets.GIT_SYNC_SOURCE_REPO }} + source_repo: "git@github.com:aws/aws-sdk-js.git" source_branch: "master" - destination_repo: ${{ secrets.GIT_SYNC_DESTINATION_REPO }} + destination_repo: ${{ secrets.GIT_SYNC_DESTINATION_REPO }} destination_branch: "master" - source_ssh_private_key: ${{ secrets.GIT_SYNC_SOURCE_SSH_PRIVATE_KEY }} - destination_ssh_private_key: ${{ secrets.GIT_SYNC_DESTINATION_SSH_PRIVATE_KEY }} + ssh_private_key: ${{ secrets.GIT_SYNC_SSH_PRIVATE_KEY }}