Browse Source

fix: ci

pull/1/head v1.0.0
Your Name 2 years ago
parent
commit
b35941d100
  1. 8
      .drone.yml

8
.drone.yml

@ -33,14 +33,8 @@ steps:
commands:
- echo 192.168.0.2 git.1000my.com >> /etc/hosts
- ping git.1000my.com -c 1
- mkdir -p $HOME/.ssh/
- ssh-keyscan git.1000my.com > ~/.ssh/known_hosts
- git clone --depth=1 $DRONE_GIT_SSH_URL .
- git clone --depth=1 $DRONE_GIT_HTTP_URL .
- git submodule update --init --recursive
- git -c advice.detachedHead=false checkout $DRONE_COMMIT
- git status
- pwd
- ls -la
- name: 生成Release版本
pull: if-not-exists

Loading…
Cancel
Save