diff --git a/.drone.yml b/.drone.yml index d431212..58d5b6e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -60,12 +60,12 @@ steps: - name: 获取tag数据 image: alpine/git:v2.36.2 settings: - gitea_username: + username: from_secret: gitea_username - git_password: + password: from_secret: gitea_password commands: - - echo "https://$git_username:$git_password@git.1000my.com" >> ~/.git-credentials + - echo "https://$username:$password@git.1000my.com" >> ~/.git-credentials - cat ~/.git-credentials - git fetch --tags - git submodule init