This commit is contained in:
1 parent
3a7665a881
commit
6e29c6da55
1 file changed
+3
-1
+3
-1
@@ -19,9 +19,11 @@ steps:
|
|||||||
- name: clone
|
- name: clone
|
||||||
image: alpine/git
|
image: alpine/git
|
||||||
commands:
|
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 http.version HTTP/1.1"
|
||||||
- "git config --global protocol.version 1"
|
- "git config --global protocol.version 1"
|
||||||
- "git clone --depth=1 https://git.seahi.me/seahi/blogflare.git ."
|
- "git clone --depth=1 ${DRONE_REMOTE_URL} ."
|
||||||
- "git checkout -qf ${DRONE_COMMIT_SHA}"
|
- "git checkout -qf ${DRONE_COMMIT_SHA}"
|
||||||
|
|
||||||
- name: install
|
- name: install
|
||||||
|
|||||||
Reference in new issue
Block a user