From 0c0aaa704852f65d61df1c97680bbacaca2a8d55 Mon Sep 17 00:00:00 2001 From: pavel Date: Tue, 24 Feb 2026 02:07:18 +0100 Subject: [PATCH] fix lost files --- .forgejo/workflows/pipeline.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/pipeline.yaml b/.forgejo/workflows/pipeline.yaml index 4adede5..87b1268 100644 --- a/.forgejo/workflows/pipeline.yaml +++ b/.forgejo/workflows/pipeline.yaml @@ -37,7 +37,7 @@ jobs: mkdir -p ~/discord cp target/release/chattz ~/discord/discord chmod +x ~/discord/discord - mkdir -p ~/discord/static - rm -rf ~/discord/static/* + mkdir -p ~/discord/static/uploads + find ~/discord/static -mindepth 1 -maxdepth 1 ! -name 'uploads' -exec rm -rf {} + cp -r static/* ~/discord/static/ systemctl --user start discord \ No newline at end of file