Skip to content

Commit e39dd3d

Browse files
committed
fix: include credentials
1 parent 58e0d21 commit e39dd3d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/sync-mirror.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ jobs:
1717
- name: git-sync
1818
uses: wei/git-sync@v3
1919
with:
20-
source_repo: "awslabs/aws-sdk-kotlin"
20+
source_repo: "https://${{ secrets.CI_USER }}:${{ secrets.CI_USER_PAT }}@github.com/awslabs/aws-sdk-kotlin.git"
2121
source_branch: "main"
22-
destination_repo: ${{ secrets.GIT_SYNC_DESTINATION_REPO }}
23-
destination_branch: "main"
24-
# destination_ssh_private_key: ${{ secrets.GIT_SYNC_DESTINATION_SSH_PRIVATE_KEY }}
22+
destination_repo: "https://${{ secrets.CI_USER }}:${{ secrets.CI_USER_PAT }}@github.com/${{ secrets.GIT_SYNC_DESTINATION_REPO }}.git"
23+
destination_branch: "main"

0 commit comments

Comments
 (0)