From a1d89291972b52844722644c7c6893a76de77868 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=B7=E6=88=90=E4=BC=9F?= Date: Mon, 17 Jun 2024 09:29:10 +0000 Subject: [PATCH] Add .onedev-buildspec.yml --- .onedev-buildspec.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .onedev-buildspec.yml 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