Skip to content

Commit

Permalink
refetching from origin
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkolb committed Apr 21, 2024
1 parent d952ea1 commit 11008a3
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Mirror Branch to ISYE

on:
push:
branches:
- production

jobs:
mirror:
runs-on: ubuntu-latest

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Push to Mirror Repository
run: |
git switch production
git fetch origin
git pull
rm -rf .github
git config --global user.email ""
git config --global user.name "GitHub Actions"
git commit -a -m "[GitHub Action] Synced with CEC parent repo"
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 11008a3

Please sign in to comment.