Skip to content

The Unified and Autonomous Development Platform

Edit .onedev-buildspec

robin1884f6c810c5
diff --git a/.onedev-buildspec b/.onedev-buildspec
index e229590bc7..c92a4b915b 100644
--- a/.onedev-buildspec
+++ b/.onedev-buildspec
@@ -168,7 +168,7 @@
<paramSpecs/>
<image>1dev/build-environment:1.0</image>
<commands>
- <string>git push https://robinshine:@secrets:github-password@\@github.com/theonedev/server HEAD:master</string>
+ <string>git push -f https://robinshine:@secrets:github-password@\@github.com/theonedev/server HEAD:master</string>
</commands>
<retrieveSource>true</retrieveSource>
<submoduleCredentials/>