From dd5174ba72bd48e67d92cf598c008985b4e7e3e0 Mon Sep 17 00:00:00 2001 From: Moggach Date: Thu, 30 Nov 2023 13:33:13 +0000 Subject: [PATCH] try filepath again --- .github/workflows/zip-file-on-pull-request.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/zip-file-on-pull-request.yml b/.github/workflows/zip-file-on-pull-request.yml index 531d655..0f93416 100644 --- a/.github/workflows/zip-file-on-pull-request.yml +++ b/.github/workflows/zip-file-on-pull-request.yml @@ -16,14 +16,14 @@ jobs: - name: Create ZIP file run: | # Define the files or directories you want to zip - DIRECTORY_TO_ZIP="web/app/themes/future-natures/*" - + DIRECTORY_TO_ZIP="web/app/themes/future-natures" # Create a unique timestamp for the zip file TIMESTAMP=$(date +'%Y%m%d%H%M%S') # Create the zip file - zip -r "archive_$TIMESTAMP.zip" $DIRECTORY_TO_ZIP + cd $DIRECTORY_TO_ZIP + zip -r "../archive_$TIMESTAMP.zip" . - name: Upload ZIP file as artifact uses: actions/upload-artifact@v2