From d103485d095f25d2fb5f554af30c26a16d000b29 Mon Sep 17 00:00:00 2001 From: Who is my Name! <chikangwu95@gmail.com> Date: Thu, 23 Feb 2023 12:25:46 +0100 Subject: [PATCH] optimizes artifact flow --- .github/workflows/deploy.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 55d74b5..c54d0dd 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -75,11 +75,21 @@ jobs: needs: build steps: + # download the artifacts from github - name: Download Artifacts uses: actions/download-artifact@v3 with: path: . + # copy all files one level up + - name: Copy Artifacts + run: mv */* . + + # delete all empty folders + - name: Clean folders + run: find . -empty -type d -delete + + # display results - name: Print Artifacts run: ls -lah