From 8e1c89ad6d8840e3f1793cf168c3e7243e563ff3 Mon Sep 17 00:00:00 2001 From: Yeicor <4929005+Yeicor@users.noreply.github.com> Date: Sun, 10 Mar 2024 18:40:13 +0100 Subject: [PATCH] fix CI deployment 11 --- .github/workflows/deploy2.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/deploy2.yml b/.github/workflows/deploy2.yml index 80c8bea..8f655f1 100644 --- a/.github/workflows/deploy2.yml +++ b/.github/workflows/deploy2.yml @@ -35,6 +35,11 @@ jobs: - uses: "actions/download-artifact@v4" with: # Downloads all artifacts from the build job path: "./public" + - run: | # Merge the subdirectories of public into a single directory + for dir in public/*; do + mv "$dir/"* public/ + rmdir "$dir" + done - uses: "actions/configure-pages@v4" - uses: "actions/upload-pages-artifact@v3" with: