diff --git a/.drone.yml b/.drone.yml index 52c3ad5..4e7f0b9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -20,10 +20,8 @@ steps: image: alpine/git commands: - "git config --global http.version HTTP/1.1" - - "git config --global http.postBuffer 524288000" - - "git init" - - "git remote add origin ${DRONE_REMOTE_URL}" - - "git fetch --depth=50 origin +refs/heads/${DRONE_COMMIT_BRANCH}:" + - "git config --global protocol.version 1" + - "git clone --depth=50 -b ${DRONE_COMMIT_BRANCH} ${DRONE_REMOTE_URL} ." - "git checkout -qf ${DRONE_COMMIT_SHA}" - name: install