Skip to content

Commit c4b8c09

Browse files
committed
AHHHHHHH
1 parent 86e3dd5 commit c4b8c09

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +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 default)
45-
parentdir="$(dirname "$HATCH_SITE_PACKAGES_DIR")"
46-
parentdir="$(dirname "$parentdir")"
47-
ls -lah $parentdir
48-
cd $HATCH_SITE_PACKAGES_DIR/lib/python3.12/site-packages
44+
hatch env create
45+
HATCH_SITE_PACKAGES_DIR=$(hatch env find)/lib/python3.12/site-packages
46+
cd $HATCH_SITE_PACKAGES_DIR
4947
zip -r $build_file *
5048
shell: bash
5149

0 commit comments

Comments
 (0)