diff --git a/.drone.yml b/.drone.yml index 6f86fbd..9030d41 100644 --- a/.drone.yml +++ b/.drone.yml @@ -53,8 +53,8 @@ steps: - name: "Update client files in repository" image: "alpine/git" commands: + - "git fetch origin +refs/heads/master" - "git checkout master" - - "git pull" - "cp -r /out/client/* ." volumes: - name: "client" @@ -84,7 +84,7 @@ steps: --- kind: "pipeline" type: "docker" -name: "[Debug] static release" +name: "[Debug] Static Release on Push" trigger: branch: "config" @@ -141,10 +141,9 @@ steps: - name: "Update client files in repository" image: "alpine/git" commands: - - "pwd" - - "ls -la" + - "git branch -v" + - "git fetch origin +refs/heads/master" - "git checkout master" - - "git pull" - "cp -r /out/client/* ." volumes: - name: "client"