diff --git a/.drone.yml b/.drone.yml index e973cc1..52c3ad5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,12 +19,12 @@ steps: - name: clone 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 checkout -qf ${DRONE_COMMIT_SHA} + - "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 checkout -qf ${DRONE_COMMIT_SHA}" - name: install image: node:22-slim