This commit is contained in:
1 parent
6e29c6da55
commit
14c71c24cd
1 file changed
-13
-13
@@ -2,9 +2,6 @@ kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
node:
|
||||
name: pve
|
||||
|
||||
@@ -16,16 +13,6 @@ trigger:
|
||||
- custom
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: alpine/git
|
||||
commands:
|
||||
- "cat <<EOF > /root/.netrc\nmachine git.seahi.me login oauth2 password ${DRONE_GIT_PASSWORD}\nEOF"
|
||||
- "chmod 600 /root/.netrc"
|
||||
- "git config --global http.version HTTP/1.1"
|
||||
- "git config --global protocol.version 1"
|
||||
- "git clone --depth=1 ${DRONE_REMOTE_URL} ."
|
||||
- "git checkout -qf ${DRONE_COMMIT_SHA}"
|
||||
|
||||
- name: install
|
||||
image: node:22-slim
|
||||
volumes:
|
||||
|
||||
Reference in new issue
Block a user