Skip to content

Commit

Permalink
fix: lambda deploy step (#22)
Browse files Browse the repository at this point in the history
Update the deploy step to remove the `if` condition
that is not required.
  • Loading branch information
patheard authored Feb 14, 2023
1 parent 66b3097 commit b179a58
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/docker-build-push-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ jobs:
docker push $REGISTRY/${{ matrix.image }}:latest
- name: Deploy new image
if: steps.filter.outputs.changes == 'true'
run: |
aws lambda update-function-code \
--function-name ${{ env.FUNCTION_PREFIX }}-${{ matrix.function }} \
Expand Down
2 changes: 1 addition & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ RUN chmod 555 /usr/bin/aws-lambda-rie /entry.sh
WORKDIR ${FUNCTION_DIR}
COPY . ${FUNCTION_DIR}

ENTRYPOINT [ "/entry.sh", "main.handler" ]
ENTRYPOINT [ "/entry.sh", "main.handler" ]

0 comments on commit b179a58

Please sign in to comment.