Skip to content

Commit

Permalink
Exclude tests directory from zip file creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Sowri19 committed Feb 21, 2024
1 parent 0890170 commit d7a3989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run: yarn install --frozen-lockfile --production

- name: Zip project directory excluding development files
run: zip -r wavewise-backend.zip . -x "*.git*" "*tests*"
run: zip -r wavewise-backend.zip . -x "*.git*"

- name: Upload zip to S3
run: aws s3 cp wavewise-backend.zip s3://${{ env.S3_BUCKET }}/${{ env.LAMBDA_FUNCTION_NAME }}.zip
Expand Down

0 comments on commit d7a3989

Please sign in to comment.