Skip to content

The Unified and Autonomous Development Platform

Edit .onedev-buildspec.yml

Robin Shen405eaf028458
diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml
index 94ad5e3416..40596ebfe3 100644
--- a/.onedev-buildspec.yml
+++ b/.onedev-buildspec.yml
@@ -225,7 +225,7 @@ jobs:
interpreter: !DefaultInterpreter
commands:
- git config --global --unset http.extraHeader
- - git push https://robinshine:@secrets:github-token@@@github.com/theonedev/onedev.git
+ - git push -f https://robinshine:@secrets:github-token@@@github.com/theonedev/onedev.git
useTTY: false
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
triggers: