Skip to content

Commit

Permalink
fix: git-push.yml 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
seung365 committed Dec 5, 2024
1 parent b4316df commit 044fc9f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/git-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ jobs:
run: |
git config --global user.email "${{ secrets.OFFICIAL_ACCOUNT_EMAIL }}"
git config --global user.name "${{ github.actor }}"
- name: Fetch and merge remote changes
run: |
git remote add destination https://github.com/seung365/alphamail-frontend.git
git fetch destination
git merge destination/main --allow-unrelated-histories
- name: Pushes to another repository
uses: cpina/github-action-push-to-another-repository@main
env:
Expand All @@ -35,4 +40,3 @@ jobs:
user-name: ${{ github.actor }}
commit-message: 'Syncing main branch'
target-branch: main
force: true # 이 옵션 추가

0 comments on commit 044fc9f

Please sign in to comment.