Add .onedev-buildspec.yml

This commit is contained in:
谷成伟 2024-06-17 09:29:10 +00:00
parent 26699c4910
commit a1d8929197

19
.onedev-buildspec.yml Normal file
View File

@ -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