Skip to content

The Unified and Autonomous Development Platform

Edit .onedev-buildspec.yml

Robin Shen1a7e4991bcf7
diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml
index 8647478964..d65a99cbdb 100644
--- a/.onedev-buildspec.yml
+++ b/.onedev-buildspec.yml
@@ -237,7 +237,7 @@ jobs:
- ./build.sh
- ''
- cd $projectDir/server-product/target/helm-chart
- - cloudsmith -k @secret:cloudsmith-token@ push helm theonedev/onedev onedev-${buildVersion}.tgz
+ - cloudsmith push helm theonedev/onedev onedev-${buildVersion}.tgz -k @secret:cloudsmith-token@
useTTY: true
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
retryCondition: never