File tree Expand file tree Collapse file tree 2 files changed +33
-1
lines changed
Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Original file line number Diff line number Diff line change 1+ name : (Develop) Synchronize to forked repo
2+ on :
3+ push :
4+ branches :
5+ - develop
6+
7+ jobs :
8+ sync :
9+ name : Sync forked repo
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout develop
14+ uses : actions/checkout@v4
15+ with :
16+ token : ${{ secrets.DEV_AUTO_SYNC_TOKEN }}
17+ fetch-depth : 0
18+ ref : develop
19+
20+ - name : Add remote-url
21+ run : |
22+ git remote add forked-repo https://hyeonjin6530:${{ secrets.DEV_AUTO_SYNC_TOKEN }}@github.com/hyeonjin6530/billilge-frontend
23+ git config user.name hyeonjin6530
24+ git config user.email ${{ secrets.DEV_EMAIL }}
25+
26+ - name : Push changes to forked-repo
27+ run : |
28+ git push -f forked-repo develop
29+
30+ - name : Clean up
31+ run : |
32+ git remote remove forked-repo
Original file line number Diff line number Diff line change 1- name : Synchronize to forked repo
1+ name : (Main) Synchronize to forked repo
22on :
33 push :
44 branches :
You can’t perform that action at this time.
0 commit comments