diff --git a/.drone.yml b/.drone.yml index d32a653..e973cc1 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,6 +2,9 @@ kind: pipeline type: docker name: default +clone: + disable: true + node: name: pve @@ -13,8 +16,20 @@ trigger: - custom 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} + - name: install image: node:22-slim + depends_on: + - clone volumes: - name: pnpm-store path: /root/.local/share/pnpm/store