-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6712f5c
commit 055c68b
Showing
1 changed file
with
7 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,15 +18,14 @@ jobs: | |
|
||
- name: Configure git | ||
run: | | ||
git config --global user.name "GitHub Action" | ||
git config --global user.email "[email protected]" | ||
git remote add forked-repo https://${{ secrets.JIWON_GITHUB_KEY }}@github.com/Choi-Jiwon-38/workinkorea.git | ||
git config user.name "Choi-Jiwon-38" | ||
git config user.email "[email protected]" | ||
- name: Add fork as remote | ||
- name: Push changes to forked-repo | ||
run: | | ||
git remote add fork https://${{secrets.JIWON_GITHUB_KEY}}@github.com/Choi-Jiwon-38/workinkorea.git | ||
git fetch fork | ||
git checkout develop | ||
git push -f forked-repo develop | ||
- name: Push to forked repo | ||
- name: Clean up | ||
run: | | ||
git push fork develop --force-with-lease | ||
git remote remove forked-repo |