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: