Skip to content

Commit 5a388e1

Browse files
committed
AHHHHHHH
1 parent 5657896 commit 5a388e1

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ jobs:
4545
HATCH_SITE_PACKAGES_DIR=$(hatch env find)/lib/python3.12/site-packages
4646
cd $HATCH_SITE_PACKAGES_DIR
4747
zip -r $build_file *
48+
cd ${{ github.workspace }}
49+
cp $build_file ${{ github.workspace }}
4850
shell: bash
4951

5052
- name: Publish to Github
@@ -62,8 +64,6 @@ jobs:
6264
function_name: solesearch-api
6365
zip_file: $build_file
6466
timeout: 10
65-
handler: main.handler
67+
handler: api.main.handler
6668
runtime: python3.12
6769
role: arn:aws:iam::930702711470:role/service-role/solesearch-api-role-qr34kqa5
68-
dry_run: true
69-
debug: true

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ packages = ["src/api"]
4444
packages = ["src/api"]
4545

4646
[tool.hatch.build.targets.zipped-directory]
47-
install-name = ""
47+
install-name = "api"
4848
sources = ["src/api"]
4949

5050
[tool.hatch.build.targets.zipped-directory.force-include]

0 commit comments

Comments
 (0)