How to push your Lambda function into Amplify + NextJs MonoRepo
- Write code
- Commit only the files you’ve made changes to
Amplify pull to fetch the latest changes in the Amplify backend (cloud)
amplify pull
Revert commit
- Amplify push
- Check you’re only updating functions you’re supposed to, nothing more
- Add only the files you’ve changed, commit and push it to your branch in git