From 4eb2cf913495e8a7c8c9ad3fceb3bff2a1b2a072 Mon Sep 17 00:00:00 2001 From: vnugent Date: Sun, 4 Aug 2024 15:49:27 -0400 Subject: push to codeberg --- .onedev-buildspec.yml | 24 +++++++++++++----------- 1 file 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 -- cgit