diff options
author | vnugent <public@vaughnnugent.com> | 2023-07-12 01:40:51 -0400 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2023-07-12 01:40:51 -0400 |
commit | 687bb87870728180e65fae0538cdaba4581fc378 (patch) | |
tree | 61caf7a38ff8c75b275a460bfcc848f85369c843 /.onedev-buildspec.yml | |
parent | f64955c69d91e578e580b409ba31ac4b3477da96 (diff) |
Github publish
Diffstat (limited to '.onedev-buildspec.yml')
-rw-r--r-- | .onedev-buildspec.yml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml new file mode 100644 index 0000000..7bceb19 --- /dev/null +++ b/.onedev-buildspec.yml @@ -0,0 +1,44 @@ +version: 17 +jobs: +- name: GitHub Push + steps: + - !PushRepository + name: Github push sync + remoteUrl: https://github.com/VnUgE/CMNext.git + userName: VnUgE + passwordSecret: github-access-token + withLfs: false + force: false + condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL + triggers: + - !TagCreateTrigger + projects: CMNext + - !BranchUpdateTrigger + projects: CMNext + retryCondition: never + maxRetries: 3 + retryDelay: 30 + cpuRequirement: 250 + memoryRequirement: 256 + timeout: 3600 +- name: GitHub Pull + steps: + - !PullRepository + name: GitHub sync pull + remoteUrl: https://github.com/VnUgE/CMNext.git + userName: VnUgE + passwordSecret: github-access-token + refs: refs/heads/* refs/tags/* + withLfs: false + force: false + condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL + triggers: + - !ScheduleTrigger + cronExpression: 0 15 10 ? * * + projects: CMNext + retryCondition: never + maxRetries: 3 + retryDelay: 30 + cpuRequirement: 250 + memoryRequirement: 256 + timeout: 3600 |