Remove custom clone override, use built-in Woodpecker clone

This commit is contained in:
Viktor Barzin 2026-02-22 23:30:38 +00:00
parent 62fe594be2
commit 432ceb575d

View file

@ -2,24 +2,7 @@ when:
- event: push
branch: master
clone:
git:
image: alpine
commands:
- "echo clone-placeholder"
steps:
- name: clone
image: alpine
environment:
GITHUB_TOKEN:
from_secret: github-token
commands:
- "apk update && apk add git"
- 'for i in 1 2 3 4 5; do git clone https://x-access-token:${GITHUB_TOKEN}@github.com/${CI_REPO} . && break || echo "Clone attempt $i failed, retrying in 10s..." && rm -rf .git && sleep 10; done'
- "git checkout $CI_COMMIT_SHA"
- name: install-api-deps
image: python:3.13-slim
commands: