Merge pull request #756 from depromeet/755-스페이스-내-템플릿-확인-버튼의-경우-템플릿-변… #387
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: Synchronize to forked repo | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| - lab | |
| paths: | |
| - apps/web/** | |
| jobs: | |
| sync: | |
| name: Sync forked repo | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout develop | |
| uses: actions/checkout@v4 | |
| with: | |
| token: ${{ secrets.FORKED_REPO_TOKEN_DEV }} | |
| fetch-depth: 0 | |
| ref: ${{ github.ref_name }} | |
| - name: Add remote-url | |
| run: | | |
| git remote add forked-repo https://test0001124:${{ secrets.FORKED_REPO_TOKEN_DEV }}@github.com/test0001124/layer-dev | |
| git config user.name test0001124 | |
| git config user.email klmhyeonwoo@likelion.org | |
| - name: Push changes to forked-repo | |
| run: | | |
| git push -f forked-repo ${{ github.ref_name }} | |
| - name: Clean up | |
| run: | | |
| git remote remove forked-repo |