Skip to content

Commit

Permalink
moved mirror add
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkolb committed Apr 21, 2024
1 parent 5121ccd commit ecdfde3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
- name: Checkout CEC repository
uses: actions/checkout@v3

- name: Add the ISYE repository as a mirror
run: |
git remote add mirror https://jkolb6:${{ secrets.ISYE_MIRROR_TOKEN }}@github.gatech.edu/isye-web/tmm_hai_cec
git fetch --force mirror
- name: Update CEC repository
run: |
git switch production
Expand All @@ -28,10 +33,5 @@ jobs:
git config --global user.name "GitHub Actions"
git commit -a -m "[GitHub Action] Synced with CEC parent repo"
- name: Add the ISYE repository as a mirror
run: |
git remote add mirror https://jkolb6:${{ secrets.ISYE_MIRROR_TOKEN }}@github.gatech.edu/isye-web/tmm_hai_cec
git fetch --force mirror
- name: Push to the ISYE main branch
run: git push -u mirror production:main --force

0 comments on commit ecdfde3

Please sign in to comment.