Skip to content

Commit

Permalink
SCALRCORE-31725: GH Actions: Synchronise guthub and github enterprise…
Browse files Browse the repository at this point in the history
… repos
  • Loading branch information
AKramarenko committed Jul 15, 2024
1 parent 9720768 commit faf6826
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/sync_repositories.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,15 @@ jobs:
git config --unset-all http.https://github.com/.extraheader
- name: Sync repositories
run: |
git remote add repo1 https://scalr-autotester13:${{ secrets.GH_PAT_13_2 }}@github.com/scalr-automation/terraform-scalr-flat-mirror1.git
git push --force repo1 main --follow-tags
git remote add repo2 https://scalr-autotester13:${{ secrets.GH_PAT_13_2 }}@github.com/scalr-automation/terraform-scalr-flat-mirror2.git
git push --force repo2 main --follow-tags
git remote add repo3 https://scalr-autotester13:${{ secrets.GH_PAT_13_2 }}@github.com/scalr-automation/terraform-scalr-flat-mirror3.git
git push --force repo3 main --follow-tags
git remote add repo4 https://scalr-autotester13:${{ secrets.GH_PAT_13_2 }}@github.com/scalr-automation/terraform-scalr-flat-mirror4.git
git push --force repo4 main --follow-tags
git remote add repo5 https://scalr-autotester13:${{ secrets.GH_PAT_13_2 }}@github.com/scalr-automation/terraform-scalr-flat-mirror5.git
git push --force repo5 main --follow-tags
git remote add gh-ee-repo https://AKramarenko:${{ secrets.GH_EE_TOKEN }}@github-ee.main.scalr.dev/scalr-automation/terraform-scalr-flat.git
git push --force gh-ee-repo main --follow-tags

0 comments on commit faf6826

Please sign in to comment.