Skip to content

Commit

Permalink
Revert "try simplify lambda deployment CI"
Browse files Browse the repository at this point in the history
This reverts commit 9c15f24.
  • Loading branch information
MahdiBM committed Jul 6, 2024
1 parent 9c15f24 commit 0c80c90
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy-all-lambdas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ jobs:
git clone https://github.com/${{ github.repository }}
cd ${{ github.event.repository.name }}
git checkout ${{ github.sha }}
echo "GITHUB_WORKSPACE=$GITHUB_WORKSPACE/${{ github.event.repository.name }}" >> $GITHUB_ENV
- name: Find package names
working-directory: ${{ github.event.repository.name }}
id: find_package_names
run: |
echo "names=$(
Expand All @@ -48,6 +48,7 @@ jobs:
)" >> $GITHUB_OUTPUT
- name: Build and package
working-directory: ${{ github.event.repository.name }}
run: |
mkdir zips
for name in ${{ steps.find_package_names.outputs.names }}; do
Expand All @@ -61,6 +62,7 @@ jobs:
done
- name: Deploy
working-directory: ${{ github.event.repository.name }}
run: |
for name in ${{ steps.find_package_names.outputs.names }}; do
aws lambda update-function-code \
Expand Down

0 comments on commit 0c80c90

Please sign in to comment.