From cb3e3b648d21bd4ab4df2b6ddf6431066b0953f9 Mon Sep 17 00:00:00 2001 From: wanggang <76527413@qq.com> Date: Fri, 4 Jun 2021 12:37:34 +0800 Subject: [PATCH] test --- .drone.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2b3e238..a71cd2c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,11 +22,12 @@ steps: password: from_secret: ssh_password script: - - env - - apt -y install git - - mkdir -p ~/publish/cicd && cd $_ - - git init - - git remoteadd origin http://10.10.14.176:3000/examples/DockerComposeCICD.git - - git fetch origin +refs/heads/master - - git checkout ${DRONE_COMMIT_SHA} -b ${DRONE_REPO_BRANCH} + - mv .env .env.example + - pwd + # - apt -y install git + # - mkdir -p ~/publish/cicd && cd $_ + # - git init + # - git remoteadd origin http://10.10.14.176:3000/examples/DockerComposeCICD.git + # - git fetch origin +refs/heads/master + # - git checkout ${DRONE_COMMIT_SHA} -b ${DRONE_REPO_BRANCH} #- ./start.sh