try workspace again
This commit is contained in:
parent
e1701584a7
commit
e17d711596
21
.drone.yml
21
.drone.yml
@ -2,17 +2,20 @@
|
||||
kind: pipeline
|
||||
name: default
|
||||
|
||||
workspace:
|
||||
base: /drone/src
|
||||
path: xxxxx
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
# clone:
|
||||
# disable: true
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: docker:git
|
||||
commands:
|
||||
- git clone $DRONE_GIT_HTTP_URL
|
||||
- cd $DRONE_REPO_NAME
|
||||
- git checkout $DRONE_COMMIT -b $DRONE_BRANCH
|
||||
# steps:
|
||||
# - name: clone
|
||||
# image: docker:git
|
||||
# commands:
|
||||
# - git clone $DRONE_GIT_HTTP_URL
|
||||
# - cd $DRONE_REPO_NAME
|
||||
# - git checkout $DRONE_COMMIT -b $DRONE_BRANCH
|
||||
|
||||
# - name: ansible-latest
|
||||
# image: python:2.7
|
||||
|
Loading…
Reference in New Issue
Block a user