aboutsummaryrefslogtreecommitdiff
path: root/.onedev-buildspec.yml
blob: bfccb2544728329358cf42e717b0405eecfb87fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
version: 33
jobs:
- name: Repo Sync Push
  steps:
  - !PushRepository
    name: Github sync push
    remoteUrl: https://github.com/VnUgE/VNLib.Core.git
    userName: VnUgE
    passwordSecret: git-access-token
    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
    projects: VNLib.Core
  - !BranchUpdateTrigger
    projects: VNLib.Core
  retryCondition: never
  maxRetries: 3
  retryDelay: 30
  timeout: 3600