Deploying to Amplify
Set up repo from
opendoc-templateor copy amplify.yml manually
Set environment variables
Set service role in general settings
Check if webhook is set in Github (this should be done automatically when connecting to amplify)
After build, check that search and pdf works.
Search not working
Check amplify build > frontend logs that APP_NAME is set correctly and status code is 202.
PDF not working
Ensure that PDF_LAMBDA_KEY and PDF_LAMBDA_SERVER is correctly set.