Browse Source

fix: ci

pull/1/head v1.0.0-pre-dev.15
千目管理员 3 years ago
parent
commit
626f6eeaf3
  1. 6
      .drone.yml

6
.drone.yml

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

Loading…
Cancel
Save