Skip to content

Commit

Permalink
chore: main -> master 브랜치 명 수정 (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
AAminha committed May 1, 2024
1 parent 74f3927 commit fc2bc66
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/synchronize-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,30 @@ name: Synchronize to forked repo
on:
push:
branches:
- main
- master

jobs:
sync:
name: Sync forked repo
runs-on: ubuntu-latest

steps:
- name: Checkout main
- name: Checkout master
uses: actions/checkout@v4
with:
token: ${{ secrets.FORKED_REPO_TOKEN }}
fetch-depth: 0
ref: main
ref: master

- name: Add remote-url
run: |
git remote add forked-repo https://AAminha:${{ secrets.FORKED_REPO_TOKEN }}@github.com/AAminha/KUSITMS-29th-TEAM-D-Frontend
git config AAminha
git config [email protected]
git config user.name AAminha
git config user.email [email protected]
- name: Push changes to forked-repo
run: |
git push -f forked-repo main
git push -f forked-repo master
- name: Clean up
run: |
Expand Down

0 comments on commit fc2bc66

Please sign in to comment.