How to deploy a lambda function using github actions?

SETUP

Make sure to add the following variables to your github actions secrets:

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_REGION
  • AWS_FUNCTION_NAME

Guide: https://www.youtube.com/watch?v=UQiRhKgQ5X0