From 5a435a5367a50a8bf04f37b4b15aa415eb8f277b Mon Sep 17 00:00:00 2001 From: Adrian Marquis Date: Mon, 29 May 2023 14:36:49 +0200 Subject: [PATCH] Fixed repository client file update --- .drone.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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"