From 5f9d769e06c2d2a95fa3f5ce43c7d6d9b433cb32 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Fri, 6 Dec 2024 23:46:23 +0400 Subject: [PATCH] [no ci] add rm step --- .woodpecker.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 51658ca..7ac8ae1 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -20,7 +20,9 @@ steps: CLOUDFLARE_API_TOKEN: from_secret: cloudflare_api_token commands: - - echo "Moving..." + - echo "Cleaning old files..." + - rm -r /tmp/output/{*,.*} + - echo "Moving new files..." - cp -r dist/. /tmp/output volumes: - /home/docker/sakosite:/tmp/output