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
8 changes: 4 additions & 4 deletions .github/workflows/KB_Updater.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Deploy KB_Updater Lambda Function
name: KB_Updater-Lambda
on:
push:
branches: ["main"]
paths:
- '.tools/lambda/KB_Updater.py'
- '.tools/lambda/KB_Updater/lambda_function.py'
workflow_dispatch:

permissions:
Expand All @@ -24,8 +24,8 @@ jobs:

- name: Deploy Lambda
run: |
cd .tools/lambda
zip function.zip KB_Updater.py
cd .tools/lambda/KB_Updater
zip function.zip lambda_function.py
aws lambda update-function-code \
--function-name KB_Updater \
--zip-file fileb://function.zip
Loading