배열 돌리기4 (#76) #184
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Mirror to loopers-dongbanza | |
| on: | |
| push: | |
| branches: | |
| - main # <-- 미러링할 브랜치명 (필요하면 수정) | |
| jobs: | |
| mirror: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout source repository | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # commit 전체 히스토리 동기화를 위해 필수 | |
| - name: Push to organization repo | |
| run: | | |
| git remote add mirror https://x-access-token:${{ secrets.MIRROR_TOKEN }}@github.com/loopers-dongbanza/yonghun.git | |
| git push --mirror mirror |