The Unified and Autonomous Development Platform
Edit .onedev-buildspec.yml
Robin Sheneaada21c4170
diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.ymlindex 5a40008cce..13ea5ebbbc 100644--- a/.onedev-buildspec.yml+++ b/.onedev-buildspec.yml@@ -171,7 +171,7 @@ jobs:cloneCredential: !DefaultCredential {}condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL- !CommandStep- name: 'command '+ name: syncimage: alpine/git:1.0.7commands:- git config --global --unset http.extraHeader@@ -188,3 +188,27 @@ jobs:cpuRequirement: 250mmemoryRequirement: 128mtimeout: 3600+- name: Sync Stable (GitHub)+ steps:+ - !CheckoutStep+ name: 'checkout '+ cloneCredential: !DefaultCredential {}+ condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL+ - !CommandStep+ name: sync+ image: alpine/git:1.0.7+ commands:+ - git config --global --unset http.extraHeader+ - git push -f https://robinshine:@secrets:github-token@@@github.com/theonedev/server+ HEAD:stable+ condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL+ triggers:+ - !BranchUpdateTrigger+ branches: stable+ projects: onedev-server+ retryCondition: never+ maxRetries: 3+ retryDelay: 30+ cpuRequirement: 250m+ memoryRequirement: 128m+ timeout: 3600