diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml new file mode 100644 index 00000000..78ea8b98 --- /dev/null +++ b/.onedev-buildspec.yml @@ -0,0 +1,19 @@ +version: 20 +jobs: +- name: 润阳项目文档发版 + steps: + - !CheckoutStep + name: 获取最新文档 + cloneCredential: !DefaultCredential {} + withLfs: false + withSubmodules: false + condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL + - !PublishSiteStep + name: 文档发版 + sourcePath: docs + artifacts: '**' + condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL + retryCondition: never + maxRetries: 3 + retryDelay: 30 + timeout: 3600