aboutsummaryrefslogtreecommitdiff
path: root/.onedev-buildspec.yml
diff options
context:
space:
mode:
Diffstat (limited to '.onedev-buildspec.yml')
-rw-r--r--.onedev-buildspec.yml39
1 files changed, 39 insertions, 0 deletions
diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml
new file mode 100644
index 0000000..db67422
--- /dev/null
+++ b/.onedev-buildspec.yml
@@ -0,0 +1,39 @@
+version: 33
+jobs:
+- name: Push to GitHub
+ steps:
+ - !PushRepository
+ name: GitHub Sync
+ remoteUrl: https://github.com/VnUgE/vnbuild.git
+ userName: VnUgE
+ passwordSecret: git-access-token
+ force: false
+ condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
+ triggers:
+ - !TagCreateTrigger
+ projects: vnbuild
+ - !BranchUpdateTrigger
+ projects: vnbuild
+ retryCondition: never
+ maxRetries: 3
+ retryDelay: 30
+ timeout: 3600
+- name: Pull from GitHub
+ steps:
+ - !PullRepository
+ name: Sync from GitHub
+ remoteUrl: https://github.com/VnUgE/vnbuild.git
+ userName: VnUgE
+ passwordSecret: git-access-token
+ refs: refs/heads/* refs/tags/*
+ withLfs: false
+ force: false
+ condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
+ triggers:
+ - !ScheduleTrigger
+ cronExpression: 0 15 10 ? * *
+ projects: vnbuild
+ retryCondition: never
+ maxRetries: 3
+ retryDelay: 30
+ timeout: 3600