fix
This commit is contained in:
22
.cnb.yml
22
.cnb.yml
@@ -20,17 +20,17 @@ $:
|
|||||||
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: sync to gitea
|
- name: sync to gitea
|
||||||
image: tencentcom/git-sync
|
image: tencentcom/git-sync
|
||||||
settings:
|
settings:
|
||||||
target_url: https://git.xiongxiao.me/kevisual/cnb.git
|
target_url: https://git.xiongxiao.me/kevisual/cnb.git
|
||||||
auth_type: https
|
auth_type: https
|
||||||
username: "oauth2"
|
username: "oauth2"
|
||||||
password: ${GITEA_TOKEN}
|
password: ${GITEA_TOKEN}
|
||||||
git_user: "abearxiong"
|
git_user: "abearxiong"
|
||||||
git_email: "xiongxiao@xiongxiao.me"
|
git_email: "xiongxiao@xiongxiao.me"
|
||||||
sync_mode: rebase
|
sync_mode: rebase
|
||||||
branch: main
|
branch: main
|
||||||
.common_sync_from_gitea: &common_sync_from_gitea
|
.common_sync_from_gitea: &common_sync_from_gitea
|
||||||
services:
|
services:
|
||||||
- docker
|
- docker
|
||||||
|
|||||||
Reference in New Issue
Block a user