From c5400204dae9bb638f13e4ddb785426d59a25d4b Mon Sep 17 00:00:00 2001 From: Moggach Date: Thu, 30 Nov 2023 13:07:58 +0000 Subject: [PATCH] test zip file generation --- .github/workflows/zip-file-on-pull-request.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/zip-file-on-pull-request.yml b/.github/workflows/zip-file-on-pull-request.yml index 63beb78..0f9ad61 100644 --- a/.github/workflows/zip-file-on-pull-request.yml +++ b/.github/workflows/zip-file-on-pull-request.yml @@ -1,9 +1,7 @@ -name: Zip Files on Pull Request +name: Zip Files on Push on: - pull_request: - types: - - opened + push: branches: - test-wordpress-playground @@ -24,10 +22,10 @@ jobs: TIMESTAMP=$(date +'%Y%m%d%H%M%S') # Create the zip file - zip -r "archive_$TIMESTAMP.zip" $FILES_TO_ZIP + zip -r "archive_$TIMESTAMP.zip" $DIRECTORY_TO_ZIP - name: Upload ZIP file as artifact uses: actions/upload-artifact@v2 with: name: zipped-files - path: archive_*.zip \ No newline at end of file + path: archive_*.zip