Skip to content

Commit 1babc91

Browse files
authored
chore: Update repo-sync.yml (#878)
1 parent 773cb98 commit 1babc91

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/repo-sync.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,9 @@ jobs:
1414
uses: actions/checkout@v4
1515
with:
1616
ref: main
17-
- name: Add staging repo as remote
17+
- name: Add staging repo as remote with token
1818
run: |
19-
git remote add staging-repo https://github.com/awslabs/private-smithy-swift-staging.git
20-
- name: Set up auth
21-
run: |
22-
git config --global url."https://${{ secrets.REPO_SYNC_AUTOMATION_USER_TOKEN }}@github.com".insteadOf "https://github.com"
19+
git remote add staging-repo https://${{ secrets.REPO_SYNC_AUTOMATION_USER_TOKEN }}@github.com/awslabs/private-smithy-swift-staging.git
2320
- name: Push changes to staging repo
2421
run: |
2522
git push staging-repo main

0 commit comments

Comments
 (0)