diff --git a/.drone.yml b/.drone.yml index 4727b61..feef035 100644 --- a/.drone.yml +++ b/.drone.yml @@ -59,7 +59,13 @@ steps: - master - name: 获取tag数据 image: alpine/git:v2.36.2 + settings: + git_login: + from_secret: gitea_username + git_password: + from_secret: gitea_password commands: + - echo "https://$git_username:$git_password@git.1000my.com" >> ~/.git-credentials - git fetch --tags - git submodule init - git submodule update --recursive --remote