diff --git a/.cnb.yml b/.cnb.yml index 57be8bf..52600c5 100644 --- a/.cnb.yml +++ b/.cnb.yml @@ -10,8 +10,9 @@ main: - name: sync to gitea image: tencentcom/git-sync settings: - target_url: https://git.xiongxiao.me/kevisual/cnb.git - auth_type: https + target_url: git@git.xiongxiao.me:kevisual/cnb.git + auth_type: ssh + ssh_key: ${GITEA_SSH_KEY} username: ${GITEA_USERNAME} password: ${GITEA_PASSWORD} git_host: git.xiongxiao.me