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'