aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-08-04 15:49:27 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-08-04 15:49:27 -0400
commit4eb2cf913495e8a7c8c9ad3fceb3bff2a1b2a072 (patch)
tree544ee4fefd5b706681882c9688a4b41772c615ce
parent0b69bc760f87efab73ca6efb454b30a3393be269 (diff)
push to codeberg
-rw-r--r--.onedev-buildspec.yml24
1 files changed, 13 insertions, 11 deletions
diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml
index 44ee930..9700986 100644
--- a/.onedev-buildspec.yml
+++ b/.onedev-buildspec.yml
@@ -1,14 +1,20 @@
-version: 17
+version: 33
jobs:
-- name: Push to GitHub
+- name: Repo Sync Push
steps:
- !PushRepository
- name: GitHub Sync
+ name: Github sync push
remoteUrl: https://github.com/VnUgE/VNLib.Core.git
userName: VnUgE
passwordSecret: git-access-token
- withLfs: false
- force: false
+ force: true
+ condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
+ - !PushRepository
+ name: Codeberg push sync
+ remoteUrl: https://codeberg.org/VnUgE/VNLib.Core.git
+ userName: VnUgE
+ passwordSecret: codeberg-access-token
+ force: true
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
triggers:
- !TagCreateTrigger
@@ -18,13 +24,11 @@ jobs:
retryCondition: never
maxRetries: 3
retryDelay: 30
- cpuRequirement: 250
- memoryRequirement: 256
timeout: 3600
-- name: Pull from GitHub
+- name: Repo Sync Pull
steps:
- !PullRepository
- name: Sync from GitHub
+ name: GitHub sync pull
remoteUrl: https://github.com/VnUgE/VNLib.Core.git
userName: VnUgE
passwordSecret: git-access-token
@@ -39,6 +43,4 @@ jobs:
retryCondition: never
maxRetries: 3
retryDelay: 30
- cpuRequirement: 250
- memoryRequirement: 256
timeout: 3600