Skip to content

Commit 98cc93b

Browse files
committed
chore: 간단한 sync 파일로 변경
1 parent a3e2c9f commit 98cc93b

File tree

3 files changed

+32
-64
lines changed

3 files changed

+32
-64
lines changed

.github/workflows/deploy.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

.github/workflows/sync-to-fork.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Sync Changes to Forked Repo
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
- main
8+
9+
jobs:
10+
sync:
11+
name: Sync with Forked Repo
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout Source Repository
16+
uses: actions/checkout@v4
17+
with:
18+
fetch-depth: 0
19+
20+
- name: Configure Git
21+
run: |
22+
git config --global user.name "GitHub Actions"
23+
git config --global user.email "[email protected]"
24+
25+
- name: Add Forked Repo as Remote
26+
run: |
27+
git remote add forked https://x-access-token:${{ secrets.AUTO_ACTIONS }}@github.com/dewbeeny/HomePage-FE.git
28+
git fetch forked
29+
30+
- name: Push Changes to Forked Repo
31+
run: |
32+
git push -f forked develop

.github/workflows/trigger-fork-sync.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)