From dfecbb0ea6826383b206ce4c42f4e03eb2b86aaa Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sat, 23 Sep 2023 22:54:21 +0200 Subject: [PATCH] update ci --- .woodpecker/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml index 56359d3..5747244 100644 --- a/.woodpecker/build.yml +++ b/.woodpecker/build.yml @@ -70,8 +70,11 @@ pipeline: image: deblan/php:8.1 volumes: *volumes commands: + - apt-get update && apt-get -y install rsync - cd /data/deblan/deblan.io-murph/ - - mv "$CI_WORKSPACE" "$CI_COMMIT_SHA" + - test -d "$CI_COMMIT_SHA" || mkdir "$CI_COMMIT_SHA" + - cd "$CI_COMMIT_SHA" + - rsync -avz "$CI_WORKSPACE/" "./" services: db: