Skip to content

The Unified and Autonomous Development Platform

Edit .onedev-buildspec.yml

Robin Shen057272549b45
diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml
index 13ea5ebbbc..7b2d73b188 100644
--- a/.onedev-buildspec.yml
+++ b/.onedev-buildspec.yml
@@ -1,4 +1,4 @@
-version: 6
+version: 7
jobs:
- name: CI
steps:
@@ -188,27 +188,3 @@ jobs:
cpuRequirement: 250m
memoryRequirement: 128m
timeout: 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