Skip to content

The Unified and Autonomous Development Platform

Edit .onedev-buildspec.yml

Robin Shen204eb11f924b
diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml
index 25951228e0..52f70f86e6 100644
--- a/.onedev-buildspec.yml
+++ b/.onedev-buildspec.yml
@@ -262,9 +262,10 @@ jobs:
steps:
- !CheckoutStep
name: checkout
- cloneCredential: !DefaultCredential {}
+ cloneCredential: !HttpCredential
+ accessTokenSecret: onedev-token
withLfs: false
- withSubmodules: false
+ withSubmodules: true
cloneDepth: 1
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
- !CommandStep