diff --git a/.cnb.yml b/.cnb.yml index 27aae9c..3718d1a 100644 --- a/.cnb.yml +++ b/.cnb.yml @@ -7,14 +7,14 @@ main: 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: ssh - # username: ${GITEA_USERNAME} - # password: ${GITEA_PASSWORD} - # git_host: git.xiongxiao.me + - name: sync to gitea + image: tencentcom/git-sync + settings: + target_url: https://git.xiongxiao.me/kevisual/cnb.git + auth_type: ssh + username: ${GITEA_USERNAME} + password: ${GITEA_PASSWORD} + git_host: git.xiongxiao.me