Compare commits
2 Commits
726fdd7a1a
...
8d417a6475
| Author | SHA1 | Date | |
|---|---|---|---|
| 8d417a6475 | |||
| 5dff655eb4 |
4
.cnb.yml
4
.cnb.yml
@@ -1,5 +1,7 @@
|
||||
# .cnb.yml
|
||||
$:
|
||||
FromRepo: cnb
|
||||
ToRepo: kevisual/cnb
|
||||
vscode:
|
||||
- docker:
|
||||
image: docker.cnb.cool/kevisual/dev-env:latest
|
||||
@@ -20,6 +22,8 @@ $:
|
||||
stages:
|
||||
- name: 'show username'
|
||||
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
|
||||
image: tencentcom/git-sync
|
||||
settings:
|
||||
|
||||
@@ -9,7 +9,7 @@ const main = async () => {
|
||||
branch: 'main',
|
||||
env: {
|
||||
},
|
||||
event: 'api_trigger_test',
|
||||
event: 'api_trigger_sync_to_gitea',
|
||||
config: ``,
|
||||
});
|
||||
console.log("build", build);
|
||||
|
||||
Reference in New Issue
Block a user