We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc17e3f commit 3d9f5afCopy full SHA for 3d9f5af
.github/workflows/KB_Updater.yml
@@ -1,9 +1,9 @@
1
-name: Deploy KB_Updater Lambda Function
+name: KB_Updater-Lambda
2
on:
3
push:
4
branches: ["main"]
5
paths:
6
- - '.tools/lambda/KB_Updater.py'
+ - '.tools/lambda/KB_Updater/lambda_function.py'
7
workflow_dispatch:
8
9
permissions:
@@ -24,8 +24,8 @@ jobs:
24
25
- name: Deploy Lambda
26
run: |
27
- cd .tools/lambda
28
- zip function.zip KB_Updater.py
+ cd .tools/lambda/KB_Updater
+ zip function.zip lambda_function.py
29
aws lambda update-function-code \
30
--function-name KB_Updater \
31
--zip-file fileb://function.zip
.tools/lambda/KB_Updater.py …ols/lambda/KB_Updater/lambda_function.py.tools/lambda/KB_Updater.py renamed to .tools/lambda/KB_Updater/lambda_function.py
0 commit comments