Add .onedev-buildspec.yml
This commit is contained in:
parent
26699c4910
commit
a1d8929197
19
.onedev-buildspec.yml
Normal file
19
.onedev-buildspec.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user