Compare commits

...

2 Commits

Author SHA1 Message Date
8d417a6475 update 2026-01-05 11:02:51 +08:00
5dff655eb4 update 2026-01-05 10:55:40 +08:00
2 changed files with 5 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
# .cnb.yml # .cnb.yml
$: $:
FromRepo: cnb
ToRepo: kevisual/cnb
vscode: vscode:
- docker: - docker:
image: docker.cnb.cool/kevisual/dev-env:latest image: docker.cnb.cool/kevisual/dev-env:latest
@@ -20,6 +22,8 @@ $:
stages: stages:
- name: 'show username' - name: 'show username'
script: echo "GITEA_USERNAME is ${GITEA_USERNAME} and GITEA_PASSWORD is ${GITEA_PASSWORD}" script: echo "GITEA_USERNAME is ${GITEA_USERNAME} and GITEA_PASSWORD is ${GITEA_PASSWORD}"
- name: 'show targetURL'
script: echo "Target URL is https://git.xiongxiao.me/${FromRepo}.git"
- name: sync to gitea - name: sync to gitea
image: tencentcom/git-sync image: tencentcom/git-sync
settings: settings:

View File

@@ -9,7 +9,7 @@ const main = async () => {
branch: 'main', branch: 'main',
env: { env: {
}, },
event: 'api_trigger_test', event: 'api_trigger_sync_to_gitea',
config: ``, config: ``,
}); });
console.log("build", build); console.log("build", build);