From 9fa8f1148079da47e7991cacb21fd17644d46379 Mon Sep 17 00:00:00 2001 From: Codinget Date: Fri, 22 May 2026 22:11:06 +0000 Subject: [PATCH] ci: see if I can oneshot the copy --- .gitea/workflows/test-build.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/test-build.yaml b/.gitea/workflows/test-build.yaml index ae559e9..2382451 100644 --- a/.gitea/workflows/test-build.yaml +++ b/.gitea/workflows/test-build.yaml @@ -15,4 +15,10 @@ jobs: - name: Generate the themes run: npm run generate - name: Check the output - run: ls -1 output/ + run: [$(ls -1 output/ | wc -l) != 0] + - name: Copy the files + run: |- + (cd output && tar c .) | docker run -i \ + -v /srv/gitea/gitea/public/assets/css:/srv/gitea/gitea/public/assets/css \ + -w /srv/gitea/gitea/public/assets/css \ + alpine:1.23 sh -c 'rm theme-doki*.css && tar x'