We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e307f7 commit f6557baCopy full SHA for f6557ba
.github/workflows/sync-mirror.yml
@@ -0,0 +1,20 @@
1
+name: Sync Mirror
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ workflow_dispatch:
7
8
+jobs:
9
+ git-sync:
10
+ # Only sync when pushing to source repo
11
+ if: github.repository == 'smithy-lang/smithy-kotlin'
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - name: git-sync
15
+ uses: wei/git-sync@v3
16
+ with:
17
+ source_repo: "https://aws-sdk-kotlin-ci:${{ secrets.CI_USER_PAT }}@github.com/smithy-lang/smithy-kotlin.git"
18
+ source_branch: "main"
19
+ destination_repo: "https://aws-sdk-kotlin-ci:${{ secrets.CI_USER_PAT }}@github.com/smithy-lang/private-smithy-kotlin-staging.git"
20
+ destination_branch: "main"
0 commit comments