From ecdfde3d898473200dabd2f0fad8f0836fe82fe0 Mon Sep 17 00:00:00 2001 From: Jack Kolb Date: Sat, 20 Apr 2024 23:41:26 -0400 Subject: [PATCH] moved mirror add --- .github/workflows/mirror.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index ec64b81..4e46250 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -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 @@ -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