Skip to content

Commit faf6826

Browse files
committed
SCALRCORE-31725: GH Actions: Synchronise guthub and github enterprise repos
1 parent 9720768 commit faf6826

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/sync_repositories.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,15 @@ jobs:
2121
git config --unset-all http.https://github.com/.extraheader
2222
- name: Sync repositories
2323
run: |
24+
git remote add repo1 https://scalr-autotester13:${{ secrets.GH_PAT_13_2 }}@github.com/scalr-automation/terraform-scalr-flat-mirror1.git
25+
git push --force repo1 main --follow-tags
26+
git remote add repo2 https://scalr-autotester13:${{ secrets.GH_PAT_13_2 }}@github.com/scalr-automation/terraform-scalr-flat-mirror2.git
27+
git push --force repo2 main --follow-tags
28+
git remote add repo3 https://scalr-autotester13:${{ secrets.GH_PAT_13_2 }}@github.com/scalr-automation/terraform-scalr-flat-mirror3.git
29+
git push --force repo3 main --follow-tags
30+
git remote add repo4 https://scalr-autotester13:${{ secrets.GH_PAT_13_2 }}@github.com/scalr-automation/terraform-scalr-flat-mirror4.git
31+
git push --force repo4 main --follow-tags
32+
git remote add repo5 https://scalr-autotester13:${{ secrets.GH_PAT_13_2 }}@github.com/scalr-automation/terraform-scalr-flat-mirror5.git
33+
git push --force repo5 main --follow-tags
2434
git remote add gh-ee-repo https://AKramarenko:${{ secrets.GH_EE_TOKEN }}@github-ee.main.scalr.dev/scalr-automation/terraform-scalr-flat.git
2535
git push --force gh-ee-repo main --follow-tags

0 commit comments

Comments
 (0)