Skip to content

The Unified and Autonomous Development Platform

Edit .onedev-buildspec.yml

Robin Shen3d1c4d2b6de8
diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml
index 4b14879ead..e391f9c1ce 100644
--- a/.onedev-buildspec.yml
+++ b/.onedev-buildspec.yml
@@ -35,9 +35,8 @@ jobs:
useTTY: true
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
triggers:
- - !PullRequestUpdateTrigger
- projects: onedev/server
- !BranchUpdateTrigger
+ branches: main
projects: onedev/server
retryCondition: never
maxRetries: 3