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