Skip to content
Merged
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: 6 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
name: Deploy to AWS Lambda

on:
push:
branches: [ main ]
workflow_dispatch:


env:
AWS_REGION: "us-east-1"
SERVERLESS_ACCESS_KEY: ${{ secrets.SERVERLESS_ACCESS_KEY }}

jobs:
deploy:
Expand All @@ -26,15 +25,14 @@ jobs:
with:
node-version: '22'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
npm ci

- name: Install Serverless Framework
run: npm install -g serverless

- name: Install Serverless plugins
run: |
serverless plugin install -n serverless-wsgi
serverless plugin install -n serverless-python-requirements

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand Down
Loading