From e90af8c72f3592fe766ad46ceef97d5bbd19eeea Mon Sep 17 00:00:00 2001 From: Michael Rittmeister Date: Tue, 12 Sep 2023 20:25:52 +0200 Subject: [PATCH] Let's all pray --- .github/workflows/docs.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 6e695c7..5a8a738 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -31,9 +31,8 @@ jobs: arguments: dokkaHtmlMultiModule - name: Reorder file structure run: | - shopt -s extglob - rm -rf !(build) - mv build/* . + find ./ -mindepth 1 ! -regex '^./docs\(/.*\)?' -delete + mv docs/* . - name: Build Writerside docs using Docker uses: JetBrains/writerside-github-action@v3 env: