Skip to content

Commit

Permalink
formatted the action
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkolb committed Apr 21, 2024
1 parent 79edae7 commit e2ee336
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,19 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Push to Mirror Repository
- name: Update from CEC GitHub
run: |
git switch production
git fetch origin
git pull
rm -rf .github
- name: Remove the .github folder
run: rm -rf .github
- name: Commit the change
run: |
git config --global user.email ""
git config --global user.name "GitHub Actions"
git commit -a -m "[GitHub Action] Synced with CEC parent repo"
- name: Mirror to ISYE GitHub and push
run: |
git remote add mirror https://jkolb6:${{ secrets.ISYE_MIRROR_TOKEN }}@github.gatech.edu/isye-web/tmm_hai_cec
git push mirror production --force

0 comments on commit e2ee336

Please sign in to comment.