Merge pull request #424 from depromeet/bugfix/409/externalBrowser #262
This file contains 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 [email protected] | |
- name: Push changes to forked-repo | |
run: | | |
git push -f forked-repo ${{ github.ref_name }} | |
- name: Clean up | |
run: | | |
git remote remove forked-repo |