Skip to content
This repository was archived by the owner on Oct 7, 2022. It is now read-only.

Commit 3555cdd

Browse files
committed
add force push option
1 parent 502c0ca commit 3555cdd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ jobs:
9999
- name: git push
100100
run: |
101101
git remote set-url origin "https://github-actions:${{ secrets.GHPAT_FOR_PUSH_RELEASE }}@github.com/${GITHUB_REPOSITORY}"
102-
git push -v origin main
103-
git push -v origin "v${RELEASE_VERSION}"
102+
git push -v --force origin main
103+
git push -v --force origin "v${RELEASE_VERSION}"
104104
105105
- name: cargo publish
106106
run: |

0 commit comments

Comments
 (0)