This commit is contained in:
2025-09-14 21:46:15 +08:00
parent 73301390a2
commit 05a1012a9f
2 changed files with 11 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
main: main:
sync_to_gitea: web_trigger_sync_to_gitea:
- services: - services:
- docker - docker
imports: https://cnb.cool/kevisual/env/-/blob/main/env.yml imports: https://cnb.cool/kevisual/env/-/blob/main/env.yml
@@ -11,3 +11,10 @@ main:
auth_type: https auth_type: https
username: ${GITEA_USERNAME} username: ${GITEA_USERNAME}
password: ${GITEA_ACCESS_TOKEN} password: ${GITEA_ACCESS_TOKEN}
"**":
web_trigger_test:
- stages:
- name: 执行任务
script: echo "job"

View File

@@ -5,7 +5,7 @@ branch:
buttons: buttons:
- name: 同步代码到gitea - name: 同步代码到gitea
desc: 同步代码到gitea desc: 同步代码到gitea
event: sync_to_gitea event: web_trigger_sync_to_gitea
- name: 同步gitea代码到当前仓库 - name: 同步gitea代码到当前仓库
desc: 同步gitea代码到当前仓库 desc: 同步gitea代码到当前仓库
event: sync_from_gitea event: web_trigger_sync_from_gitea