Skip to content

Commit b69e548

Browse files
committed
Amend path in bundle lambda functions step
1 parent 9f71a7e commit b69e548

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.github/workflows/cdk_release_code.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -132,22 +132,15 @@ jobs:
132132
133133
- name: Bundle Lambda Functions (manual)
134134
run: |
135-
echo "Current working directory: $(pwd)"
136-
echo "Contents of current directory:"
137-
ls -la
138-
139-
echo "Contents of packages/slackBotFunction:"
140-
ls -l packages/slackBotFunction/
141-
142135
# SlackBotFunction
143136
mkdir -p .build/${{ inputs.STACK_NAME }}-SlackBotFunction
144-
pip3 install -r packages/slackBotFunction/requirements.txt -t .build/${{ inputs.STACK_NAME }}-SlackBotFunction
145-
cp -r packages/slackBotFunction/* .build/${{ inputs.STACK_NAME }}-SlackBotFunction/
137+
pip3 install -r .build/packages/slackBotFunction/requirements.txt -t .build/${{ inputs.STACK_NAME }}-SlackBotFunction
138+
cp -r .build/packages/slackBotFunction/* .build/${{ inputs.STACK_NAME }}-SlackBotFunction/
146139
147140
# CreateIndexFunction
148141
mkdir -p .build/${{ inputs.STACK_NAME }}-CreateIndexFunction
149-
pip3 install -r packages/createIndexFunction/requirements.txt -t .build/${{ inputs.STACK_NAME }}-CreateIndexFunction
150-
cp -r packages/createIndexFunction/* .build/${{ inputs.STACK_NAME }}-CreateIndexFunction/
142+
pip3 install -r .build/packages/createIndexFunction/requirements.txt -t .build/${{ inputs.STACK_NAME }}-CreateIndexFunction
143+
cp -r .build/packages/createIndexFunction/* .build/${{ inputs.STACK_NAME }}-CreateIndexFunction/
151144

152145
- name: Show diff
153146
run: |

0 commit comments

Comments
 (0)