This commit is contained in:
2025-09-14 21:56:14 +08:00
parent 05a1012a9f
commit 9b49bfeecf

View File

@@ -4,13 +4,17 @@ main:
- docker
imports: https://cnb.cool/kevisual/env/-/blob/main/env.yml
- stages:
- name: sync to gitea
image: tencentcom/git-sync
settings:
target_url: https://git.xiongxiao.me/kevisual/cnb.git
auth_type: https
username: ${GITEA_USERNAME}
password: ${GITEA_ACCESS_TOKEN}
- 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
"**":