This commit is contained in:
1 parent
6e29c6da55
commit
14c71c24cd
1 file changed
-13
-13
@@ -2,9 +2,6 @@ kind: pipeline
|
|||||||
type: docker
|
type: docker
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
clone:
|
|
||||||
disable: true
|
|
||||||
|
|
||||||
node:
|
node:
|
||||||
name: pve
|
name: pve
|
||||||
|
|
||||||
@@ -16,16 +13,6 @@ trigger:
|
|||||||
- custom
|
- custom
|
||||||
|
|
||||||
steps:
|
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
|
- name: install
|
||||||
image: node:22-slim
|
image: node:22-slim
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Reference in new issue
Block a user