aboutsummaryrefslogtreecommitdiff
path: root/.onedev-buildspec.yml
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-05-05 14:07:28 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-05-05 14:07:28 -0400
commit940ff20348b13d0bc30d9e9f4289dd6de20b16ba (patch)
tree27c9b30a7ebfe487f56353653a9fc691b242337a /.onedev-buildspec.yml
parentb34ed055c0b7d143561ce8798e0a95313b9224bd (diff)
codeberg readonly push
Diffstat (limited to '.onedev-buildspec.yml')
-rw-r--r--.onedev-buildspec.yml16
1 files changed, 9 insertions, 7 deletions
diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml
index 716f0b2..ef1ac9d 100644
--- a/.onedev-buildspec.yml
+++ b/.onedev-buildspec.yml
@@ -1,4 +1,4 @@
-version: 17
+version: 33
jobs:
- name: GitHub Push
steps:
@@ -7,8 +7,14 @@ jobs:
remoteUrl: https://github.com/VnUgE/noscrypt.git
userName: VnUgE
passwordSecret: github-access-token
- withLfs: false
- force: false
+ force: true
+ condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
+ - !PushRepository
+ name: Codeberg push sync
+ remoteUrl: https://codeberg.com/VnUgE/noscrypt.git
+ userName: VnUgE
+ passwordSecret: codeberg-access-token
+ force: true
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
triggers:
- !TagCreateTrigger
@@ -18,8 +24,6 @@ jobs:
retryCondition: never
maxRetries: 3
retryDelay: 30
- cpuRequirement: 250
- memoryRequirement: 256
timeout: 3600
- name: GitHub Pull
steps:
@@ -39,6 +43,4 @@ jobs:
retryCondition: never
maxRetries: 3
retryDelay: 30
- cpuRequirement: 250
- memoryRequirement: 256
timeout: 3600