File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -27,11 +27,11 @@ jobs:
27
27
- name : Sync push
28
28
if : ${{ github.event_name == 'push' }}
29
29
run : |
30
- git remote add target $TARGET_REPO
31
- git push -f --all target
32
- git push -f --tags target
30
+ git -c "core.sshCommand=ssh -i ~/.ssh/id" remote add target $TARGET_REPO
31
+ git -c "core.sshCommand=ssh -i ~/.ssh/id" push -f --all target
32
+ git -c "core.sshCommand=ssh -i ~/.ssh/id" push -f --tags target
33
33
- name : Sync delete
34
34
if : ${{ github.event_name == 'delete' }}
35
35
run : |
36
- git remote add target $TARGET_REPO
37
- git push -d target ${GITHUB_EVENT_REF}
36
+ git -c "core.sshCommand=ssh -i ~/.ssh/id" remote add target $TARGET_REPO
37
+ git -c "core.sshCommand=ssh -i ~/.ssh/id" push -d target ${GITHUB_EVENT_REF}
You can’t perform that action at this time.
0 commit comments