Skip to content

Commit

Permalink
try filepath again
Browse files Browse the repository at this point in the history
  • Loading branch information
Moggach committed Nov 30, 2023
1 parent 31d0b48 commit dd5174b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/zip-file-on-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dd5174b

Please sign in to comment.