Skip to content

Commit 7acaada

Browse files
committed
keep dir structure in zip
1 parent fc24857 commit 7acaada

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/deploy-to-lambda.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ jobs:
4141
zip_file=$(find "$dist_dir" -type f -name "*.zip" -print -quit)
4242
build_file=$(realpath "$zip_file")
4343
echo "Zip file found: $build_file"
44-
HATCH_SITE_PACKAGES_DIR=$(hatch env find)/lib/python3.12/site-packages
45-
cd $HATCH_SITE_PACKAGES_DIR
44+
HATCH_SITE_PACKAGES_DIR=$(hatch env find)
45+
ls -lah $HATCH_SITE_PACKAGES_DIR
46+
cd $HATCH_SITE_PACKAGES_DIR/lib/python3.12/site-packages
4647
zip -r $build_file *
4748
shell: bash
4849

0 commit comments

Comments
 (0)