Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/build-lambda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,24 +27,24 @@ jobs:
python-version: "3.13"
- name: Install UV
uses: astral-sh/setup-uv@v6
with:
working-directory: scripts
- name: Build Lambda
run: |
cd scripts

# Create build directory
mkdir -p dist

# Install dependencies to build directory
uv sync --no-cache --target dist
uv sync --no-cache

# Copy Lambda function files to build directory
cp scripts/lambda-handler.py dist/
cp scripts/main.py dist/
cp lambda-handler.py dist/
cp main.py dist/

# Create deployment package
cd dist
zip -r ../lambda-function.zip .
cd ..
zip -r ../../lambda-function.zip .
cd ../..
- name: Deploy to S3
run: |
# Upload the Lambda function zip to S3
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/push-artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
paths-ignore:
- scripts/**
- README.md
- .github/**
workflow_dispatch:
jobs:
push-artifacts-to-s3:
Expand Down