Skip to content

Commit

Permalink
test zip file generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Moggach committed Nov 30, 2023
1 parent 1689453 commit c540020
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/zip-file-on-pull-request.yml
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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
path: archive_*.zip

0 comments on commit c540020

Please sign in to comment.