diff --git a/.cnb.yml b/.cnb.yml index 9047f70..0c69a2b 100644 --- a/.cnb.yml +++ b/.cnb.yml @@ -20,17 +20,17 @@ $: stages: - name: 'show username' script: echo "GITEA_USERNAME is ${GITEA_USERNAME} and GITEA_PASSWORD is ${GITEA_PASSWORD}" - - name: sync to gitea - image: tencentcom/git-sync - settings: - target_url: https://git.xiongxiao.me/kevisual/cnb.git - auth_type: https - username: "oauth2" - password: ${GITEA_TOKEN} - git_user: "abearxiong" - git_email: "xiongxiao@xiongxiao.me" - sync_mode: rebase - branch: main + - name: sync to gitea + image: tencentcom/git-sync + settings: + target_url: https://git.xiongxiao.me/kevisual/cnb.git + auth_type: https + username: "oauth2" + password: ${GITEA_TOKEN} + git_user: "abearxiong" + git_email: "xiongxiao@xiongxiao.me" + sync_mode: rebase + branch: main .common_sync_from_gitea: &common_sync_from_gitea services: - docker