update
This commit is contained in:
10
.cnb.yml
10
.cnb.yml
@@ -1,5 +1,8 @@
|
||||
# .cnb.yml
|
||||
$:
|
||||
env:
|
||||
FROM_REPO: kevisual/cnb
|
||||
TO_REPO: kevisual/cnb
|
||||
vscode:
|
||||
- docker:
|
||||
image: docker.cnb.cool/kevisual/dev-env:latest
|
||||
@@ -17,14 +20,13 @@ $:
|
||||
- docker
|
||||
imports:
|
||||
- https://cnb.cool/kevisual/env/-/blob/main/env.yml
|
||||
env:
|
||||
FromRepo: cnb
|
||||
ToRepo: kevisual/cnb
|
||||
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"
|
||||
script: echo "Target URL is https://git.xiongxiao.me/${TO_REPO}.git"
|
||||
- name: 'show to'
|
||||
script: echo "Target URL is https://cnb.cool/${FROM_REPO}.git"
|
||||
- name: sync to gitea
|
||||
image: tencentcom/git-sync
|
||||
settings:
|
||||
|
||||
Reference in New Issue
Block a user