Remove custom clone override, use built-in Woodpecker clone
This commit is contained in:
parent
e3d8939d17
commit
62fe594be2
1 changed files with 0 additions and 17 deletions
|
|
@ -2,24 +2,7 @@ when:
|
||||||
- event: push
|
- event: push
|
||||||
branch: master
|
branch: master
|
||||||
|
|
||||||
|
|
||||||
clone:
|
|
||||||
git:
|
|
||||||
image: alpine
|
|
||||||
commands:
|
|
||||||
- "echo clone-placeholder"
|
|
||||||
|
|
||||||
steps:
|
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-frontend-deps
|
- name: install-frontend-deps
|
||||||
image: node:24-alpine
|
image: node:24-alpine
|
||||||
environment:
|
environment:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue