diff options
author | vnugent <public@vaughnnugent.com> | 2024-05-05 14:07:28 -0400 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2024-05-05 14:07:28 -0400 |
commit | 940ff20348b13d0bc30d9e9f4289dd6de20b16ba (patch) | |
tree | 27c9b30a7ebfe487f56353653a9fc691b242337a | |
parent | b34ed055c0b7d143561ce8798e0a95313b9224bd (diff) |
codeberg readonly push
-rw-r--r-- | .onedev-buildspec.yml | 16 |
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 |