Skip to content

Commit f65ce32

Browse files
authored
Merge pull request #133 from billilge/chore/#131-dev-deploy
[Chore/#131] dev용 배포
2 parents 5d61493 + 4688e45 commit f65ce32

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Synchronize to forked repo
1+
name: (Main) Synchronize to forked repo
22
on:
33
push:
44
branches:

0 commit comments

Comments
 (0)